MS-dos commands

Discuss the latest video games, other sports, entertainment, movies, and any [OT] stuff.

Moderator: LGB Mods

MS-dos commands

Postby abc789987 » Fri Oct 23, 2009 9:02 am

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?
...
abc789987
All-Star
All-Star
 
Posts: 1795
Joined: Mon Oct 09, 2006 9:00 pm
Location: Indiana?

Re: MS-dos commands

Postby TSUCookieMonster » Fri Oct 23, 2009 9:35 am

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.
User avatar
TSUCookieMonster
All-Star
All-Star
 
Posts: 1331
Joined: Mon Jan 12, 2004 2:21 am
Location: Kansas City, Missouri

Re: MS-dos commands

Postby cprice12 » Fri Oct 23, 2009 12:16 pm

TSUCookieMonster wrote:What is MS-DOS????

:|


It's Spanish for 2 Microsofts.
Image
Image
User avatar
cprice12
Site Admin
Site Admin
 
Posts: 19485
Joined: Thu Feb 20, 2003 1:26 am
Location: Center Ice

Re: MS-dos commands

Postby abc789987 » Fri Oct 23, 2009 12:21 pm

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?
...
abc789987
All-Star
All-Star
 
Posts: 1795
Joined: Mon Oct 09, 2006 9:00 pm
Location: Indiana?

Re: MS-dos commands

Postby SteveO » Fri Oct 23, 2009 12:32 pm

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 >>
User avatar
SteveO
LGB Booster - Blue
LGB Booster - Blue
 
Posts: 5481
Joined: Thu Feb 20, 2003 7:08 am
Location: Lockout Hell

Re: MS-dos commands

Postby abc789987 » Fri Oct 23, 2009 12:40 pm

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...
...
abc789987
All-Star
All-Star
 
Posts: 1795
Joined: Mon Oct 09, 2006 9:00 pm
Location: Indiana?

Re: MS-dos commands

Postby SteveO » Fri Oct 23, 2009 12:45 pm

Test it using some other command. Do a "dir" and output it.
User avatar
SteveO
LGB Booster - Blue
LGB Booster - Blue
 
Posts: 5481
Joined: Thu Feb 20, 2003 7:08 am
Location: Lockout Hell

Re: MS-dos commands

Postby abc789987 » Fri Oct 23, 2009 12:54 pm

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...
...
abc789987
All-Star
All-Star
 
Posts: 1795
Joined: Mon Oct 09, 2006 9:00 pm
Location: Indiana?

Re: MS-dos commands

Postby stinkdified » Sat Oct 24, 2009 4:24 pm

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...
UN-official LGB Sponser of Alex Pietrangelo, damn it.
Image
User avatar
stinkdified
LGB Booster - Blue
LGB Booster - Blue
 
Posts: 710
Joined: Thu Dec 27, 2007 11:22 pm
Location: SoCo!

Re: MS-dos commands

Postby cprice12 » Sat Oct 24, 2009 9:33 pm

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
User avatar
cprice12
Site Admin
Site Admin
 
Posts: 19485
Joined: Thu Feb 20, 2003 1:26 am
Location: Center Ice

Re: give in just as the cavalry come riding

Postby fargoblues » Mon Dec 07, 2009 7:25 am

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.
fargoblues
LGB Booster - Yellow
LGB Booster - Yellow
 
Posts: 1797
Joined: Wed Jul 23, 2003 9:02 pm
Location: In Fargo, eh?

Re: MS-dos commands

Postby Ruutu15 » Tue Dec 08, 2009 11:55 am

Prngr44 wrote: (|) <-(I did a butt!)



BUTSEKS!
Image
User avatar
Ruutu15
LGB Booster - White
LGB Booster - White
 
Posts: 6941
Joined: Sat Feb 22, 2003 10:10 pm
Location: Currently in Cincinnati, OH


Return to Everything Else [OT]

Who is online

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