PDA

View Full Version : Re-nameing all files in a dir(not the extension)



vegeta
02-05-2005, 03:47 PM
is there any software or a dos command to rename a file for eg:

Britney Spears - Megamix - Chris Cox Mega Mix

TO

Britney Spears - Megamix - Chris Cox Mega Mix - Blah 2004

i mean i just want to add some thing at the back of the file name.now there may be 100's of files in the folder with different names.

i know the dos command for renaming severel files extension's in a dir.

any suggestions??

and i wanted to make a renamer using c++ or vb 6.if anyone knows a nice site 4 it then plz suggest here?

*sorry 4 this bad english*

Vargas
02-05-2005, 05:08 PM
ren *.* *_-_Blah_2004.*

note: you can't use spaces in the filename youre adding, also note do it from a CMD.EXE prompt and not a COMMAND.COM prompt or you'll lose long filenames

fkdup74
02-05-2005, 05:20 PM
since i dont like f'n around in DOS....
i use lupas rename (http://www.snapfiles.com/get/lupasrename.html), its pretty good
never fkd up on me anyway :P

p.s.....i usually dont help britney fans, you caught me on a good day :lol:

vegeta
02-07-2005, 09:48 AM
both great reply but i still prefer the old dos method :)

FKDUP74:Britney still rocks :P

vegeta
02-07-2005, 09:51 AM
ren *.* *_-_Blah_2004.*

note: you can't use spaces in the filename youre adding, also note do it from a CMD.EXE prompt and not a COMMAND.COM prompt or you'll lose long filenames

actully it becoms a prob some times cuz the file loses its extension :(

Vargas
02-07-2005, 01:54 PM
gee the first time i tested it it worked, but now it's adding it after the extention, like you said. try fkdup's program, or this one (http://www.publicware.dk/EN/FileRenamer/) while i think on this some more

Snee
02-07-2005, 03:16 PM
ren *.* *_-_Blah_2004.mp3* or something

digmen1
02-07-2005, 07:21 PM
Hi Vargas.

How does one get to a Command.Exe prompt rather than a Command.Com Prompt ?

I usually go Start/programs/Accessories/Dos Prompt.

Regards

Digby

Vargas
02-07-2005, 07:24 PM
command prompt:
start>run>command.com

cmd prompt:
start>run>cmd.exe

digmen1
02-07-2005, 07:32 PM
Thanks for that Vargas !

So is Cmd.exe the best way to go for all Dos work ?

Digby

Peerzy
02-07-2005, 08:02 PM
Thanks for that Vargas !

So is Cmd.exe the best way to go for all Dos work ?

Digby


Yesh think of it as a newer Dos that has a few extra features (long file names and such)

Vargas
02-07-2005, 08:07 PM
Thanks for that Vargas !
So is Cmd.exe the best way to go for all Dos work ?
Digby
Yes, unless youre using a DOS program that doesn't support long filenames

digmen1
02-08-2005, 04:22 AM
Thanks guys

very helpful

Regards

Digby

digmen1
02-08-2005, 04:25 AM
By rhe way that file Renamer mentioned in Vargas's post is great !

I just downloaded it today, very easy to use.

Digby

vegeta
02-10-2005, 01:26 PM
ren *.* *_-_Blah_2004.mp3* or something


ya ur right but many files r in wav and ogg format :)

vegeta
02-18-2005, 06:02 AM
command prompt:
start>run>command.com

cmd prompt:
start>run>cmd.exe

actully i always used cmd cuz when i was a noob in using xp(ohhh long back in 2001),i read it somewhere that cmd is a better mode of dos using xp :)