|
-
Sep 15th, 2001, 08:30 AM
#1
Thread Starter
Hyperactive Member
BATCH Files
right, here is my dilemma
i wanna use the RENAME command to rename a bunch o files, the only problem is, it has to put in a recurringly differant number in the filename to all other files renamed before it, par example...
The ORIGONAL Files
Tennis.jpg
mad crazy summe rin las vegas.avi
fun fun fun.game
new text document.txt
even funner game.funnergame
I would like to change these to
The New files AFTER the BATCH file is run
file - 1.jpg
file - 2.avi
file - 3.game
file - 4.txt
file - 5.funnergame
So you see, i DONT want to change the extensioon, only the first bit, i have worled thius out already, the only bit i cant do is get it to write the number of the files (aka, 1 2 3 4 5 in each differant file,w ithout running a massive GOTO and IF batch file
Im pretty sure this can be done with 1 line, thanx all  
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|