Got something to say or just want fewer pesky ads? Join us... 😊

o/t 'puter tech help neded- renaming lots of files







Shropshire Seagull

Well-known member
Nov 5, 2004
8,509
Telford
are you familiar with DOS - the command prompt?
How many files we talking here? 100s or 1,000s

If it were me I create a DOS Batch file.
Assuming all the files you want to change exit in the same folder.
Start -> Run -> "CMD"
Navigate to the required drive / folder - if you don't know how to do this you're gonna strugle with the rest ....
type "DIR *.* > change.bat" - this will create a file called "change.bat" that will include all of the files in that folder.
use notepad or other editor to amend the change.bat file - each line needs to start "REN" then the file name, then the new file name: eg "REN file.ext newfile.ext"
You'll need one line for each file to change.
Stip out all the other header and footer lines - as not required
Save the file change.bat - then double click it - volia!
 










Superphil

Dismember
Jul 7, 2003
25,419
In a pile of football shirts
Could have manually renamed them by now
 


Goldstone Rapper

Rediffusion PlayerofYear
Jan 19, 2009
14,865
BN3 7DE


Goldstone Rapper

Rediffusion PlayerofYear
Jan 19, 2009
14,865
BN3 7DE




beorhthelm

A. Virgo, Football Genius
Jul 21, 2003
35,312
for i in `ls -1`; do mv $i [prefix]$i; done
 


Goldstone Rapper

Rediffusion PlayerofYear
Jan 19, 2009
14,865
BN3 7DE
I suspect it will be quicker for the OP to manually rename his files than to learn how to use DOS.
 


Albion and Premier League latest from Sky Sports


Top
Link Here