MS-dos commands

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

Moderator: LGB Mods

Post Reply
abc789987
All-Star
All-Star
Posts: 2003
Joined: Mon Oct 09, 2006 9:00 pm
Location: Indiana?

MS-dos commands

Post by abc789987 »

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?
...

User avatar
TSUCookieMonster
All-Star
All-Star
Posts: 1367
Joined: Mon Jan 12, 2004 2:21 am
Location: Kansas City, Missouri
Contact:

Re: MS-dos commands

Post by TSUCookieMonster »

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

Re: MS-dos commands

Post by cprice12 »

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

:|
It's Spanish for 2 Microsofts.
LETS GO BLUES RADIO
LIVE weekly broadcasts on YouTube & http://www.LetsGoBlues.com/radio!
Twitter: https://twitter.com/curtprice
Lets Go Blues Radio Twitter: https://twitter.com/lgbradio
Instagram: https://www.instagram.com/cprice12/
Lets Go Blues Radio Instagram: https://www.instagram.com/lgbradio/

abc789987
All-Star
All-Star
Posts: 2003
Joined: Mon Oct 09, 2006 9:00 pm
Location: Indiana?

Re: MS-dos commands

Post by abc789987 »

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?
...

SteveO
LGB Booster - Blue
LGB Booster - Blue
Posts: 5513
Joined: Thu Feb 20, 2003 7:08 am
Location: Section 306
Contact:

Re: MS-dos commands

Post by SteveO »

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 >>

abc789987
All-Star
All-Star
Posts: 2003
Joined: Mon Oct 09, 2006 9:00 pm
Location: Indiana?

Re: MS-dos commands

Post by abc789987 »

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...
...

SteveO
LGB Booster - Blue
LGB Booster - Blue
Posts: 5513
Joined: Thu Feb 20, 2003 7:08 am
Location: Section 306
Contact:

Re: MS-dos commands

Post by SteveO »

Test it using some other command. Do a "dir" and output it.

abc789987
All-Star
All-Star
Posts: 2003
Joined: Mon Oct 09, 2006 9:00 pm
Location: Indiana?

Re: MS-dos commands

Post by abc789987 »

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...
...

User avatar
stinkdified
LGB Booster - Blue
LGB Booster - Blue
Posts: 711
Joined: Thu Dec 27, 2007 11:22 pm
Location: SoCo!

Re: MS-dos commands

Post by stinkdified »

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/heyscriptinggu ... 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

User avatar
cprice12
Site Admin
Site Admin
Posts: 21530
Joined: Thu Feb 20, 2003 1:26 am
Location: Center Ice
Contact:

Re: MS-dos commands

Post by cprice12 »

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.
LETS GO BLUES RADIO
LIVE weekly broadcasts on YouTube & http://www.LetsGoBlues.com/radio!
Twitter: https://twitter.com/curtprice
Lets Go Blues Radio Twitter: https://twitter.com/lgbradio
Instagram: https://www.instagram.com/cprice12/
Lets Go Blues Radio Instagram: https://www.instagram.com/lgbradio/

fargoblues
LGB Booster - Yellow
LGB Booster - Yellow
Posts: 1886
Joined: Wed Jul 23, 2003 9:02 pm
Location: In Fargo, eh?

Re: give in just as the cavalry come riding

Post by fargoblues »

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.

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

Re: MS-dos commands

Post by Ruutu15 »

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

Post Reply