It is currently Fri May 29, 2015 8:41 am

Board index » Other Forums » Everything Else [OT]

All times are UTC - 6 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: MS-dos commands
PostPosted: Fri Oct 23, 2009 9:02 am 
Offline
All-Star
All-Star

Joined: Mon Oct 09, 2006 9:00 pm
Posts: 1923
Location: Indiana?
Anyone know anything about using the command line in MS-DOS?

I am renaming some files by doing the below.

rename example*.* *.*.old

Is there anything I can add to this so I can get a list of the "examlple" files that were renamed?

_________________
...


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Fri Oct 23, 2009 9:35 am 
Offline
All-Star
All-Star
User avatar

Joined: Mon Jan 12, 2004 2:21 am
Posts: 1364
Location: Kansas City, Missouri
What is MS-DOS????

:|

_________________
Image

[Dooger] 11:53 pm: Thank God you're here! Some Wings fans were in here trying to have sex with me.


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Fri Oct 23, 2009 12:16 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 20, 2003 1:26 am
Posts: 20431
Location: Center Ice
TSUCookieMonster wrote:
What is MS-DOS????

:|


It's Spanish for 2 Microsofts.

_________________
Image
Image

2014-2015 Sponsor -- Blues Asst. Coach Kirk Muller


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Fri Oct 23, 2009 12:21 pm 
Offline
All-Star
All-Star

Joined: Mon Oct 09, 2006 9:00 pm
Posts: 1923
Location: Indiana?
cprice12 wrote:
TSUCookieMonster wrote:
What is MS-DOS????

:|


It's Spanish for 2 Microsofts.

that must be my problem... anyone know where i can get the english version?

_________________
...


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Fri Oct 23, 2009 12:32 pm 
Offline
LGB Booster - Blue
LGB Booster - Blue
User avatar

Joined: Thu Feb 20, 2003 7:08 am
Posts: 5487
Location: Section 306
Can't you just pipe the output to a txt file?

rename *.* *.*.old >> junk.txt

You might have to use pipe (|) <-(I did a butt!) instead of >>


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Fri Oct 23, 2009 12:40 pm 
Offline
All-Star
All-Star

Joined: Mon Oct 09, 2006 9:00 pm
Posts: 1923
Location: Indiana?
Prngr44 wrote:
Can't you just pipe the output to a txt file?

rename *.* *.*.old >> junk.txt

You might have to use pipe (|) <-(I did a butt!) instead of >>

just get a blank text file. it might have worked if there was any output...

_________________
...


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Fri Oct 23, 2009 12:45 pm 
Offline
LGB Booster - Blue
LGB Booster - Blue
User avatar

Joined: Thu Feb 20, 2003 7:08 am
Posts: 5487
Location: Section 306
Test it using some other command. Do a "dir" and output it.


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Fri Oct 23, 2009 12:54 pm 
Offline
All-Star
All-Star

Joined: Mon Oct 09, 2006 9:00 pm
Posts: 1923
Location: Indiana?
Prngr44 wrote:
Test it using some other command. Do a "dir" and output it.

yup, that prints it to the text file instead of the screen.
but with the rename command it just renames the file and doesn't print anything out. i know i can just go to the directory the files are being changed in and sort by date modified but everything i am doing is very repetitive and I am trying to cut back on my clicking...

i really need to learn how to program, i could write a few things that would save me many hours of the time i spend on crap like this...

_________________
...


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Sat Oct 24, 2009 4:24 pm 
Offline
LGB Booster - Blue
LGB Booster - Blue
User avatar

Joined: Thu Dec 27, 2007 11:22 pm
Posts: 711
Location: SoCo!
speaking of programing...
my work machine has the timer set to make the login screen come up every fifteen minutes...i found the regiestry key that controls this...
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop\ScreenSaveTimeOut
it is measured in seconds...and of course the 'box' that controls this in your display properties is grayed out.
I have a feeling that once i go back to the office and re-sync, it will change back to 900s (15min)
Anyone know a simple script I could 'write' to execute every time my computer restarts (or comes online for that matter) that would re-set this value to something realistic...like maybe:
http://blogs.technet.com/heyscriptingguy/archive/2004/10/27/how-can-i-change-the-screensaver-timeout-value.aspx with different values and a different reg key in it.
sorry, this is a blues forum...i'm obviously bored...

_________________
2014-2015 LGB Sponsor of Alex Pietrangelo
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Sat Oct 24, 2009 9:33 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 20, 2003 1:26 am
Posts: 20431
Location: Center Ice
Prngr44 wrote:
Can't you just pipe the output to a txt file?

rename *.* *.*.old >> junk.txt

You might have to use pipe (|) <-(I did a butt!) instead of >>


bleep blop tink blap zip

That's what I heard.

_________________
Image
Image

2014-2015 Sponsor -- Blues Asst. Coach Kirk Muller


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 07, 2009 7:25 am 
Offline
LGB Booster - Yellow
LGB Booster - Yellow

Joined: Wed Jul 23, 2003 9:02 pm
Posts: 1797
Location: In Fargo, eh?
efgh361 wrote:
Any moment now, wow power level could break and become the wow gold Lich King's greatest champions. Still, is this true? After all, Bolvar's held out for months already while we've been sidetracked with an Old God and wow gold . Has he really come this far only to give in just as the cavalry come riding to his rescue? Now, if this was Lord of the Rings, we'd all be telling Frodo or Tirion, or Varian or whoever to pick wow gold up that Helmet and cast it into the fires of Mount Doom. But this is wow power level, and evil doesn't die that easily in wow gold. Who says it will be so easy to destroy the energies of the Lich King?


:plusplus:

Who, indeed?

_________________
Official LGB Sponsor of Bernie Federko's Stonewashed Jeans, Custom Cabinets, and cold Busch Light.


Top
 Profile  
Reply with quote  
 Post subject: Re: MS-dos commands
PostPosted: Tue Dec 08, 2009 11:55 am 
Offline
LGB Booster - White
LGB Booster - White
User avatar

Joined: Sat Feb 22, 2003 10:10 pm
Posts: 6939
Location: Currently in Cincinnati, OH
Prngr44 wrote:
(|) <-(I did a butt!)



BUTSEKS!

_________________
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

Board index » Other Forums » Everything Else [OT]

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group