WinXP file renaming
Ok googled this little batch file workaround for ya, yeah I'm that bored right now.
Create any batch file, named mine test.bat and put this in it (or course change to the directory name you gonna be using), this is just gonna call another batch file, and I had all the images in the testbatch folder so name that whatever folder your files are gonna be in:
and create anther batch file that does the renaming, called mine rename.bat as you can tell from the code.
rename.bat
Worked fine in my winxp computer and it didn't blow up or anything.[/color]
Edited By Zetleft on 1141893232
Create any batch file, named mine test.bat and put this in it (or course change to the directory name you gonna be using), this is just gonna call another batch file, and I had all the images in the testbatch folder so name that whatever folder your files are gonna be in:
Code: Select all
@echo off
for /r D:\testbatch\ %%K in (*.gif) do call D:\testbatch\rename.bat "%%K"
pause
exit
rename.bat
Code: Select all
@ECHO OFF
REM Set the File name without ext to Flenme variable
Set Flenme="%~n1"
REM Set Extn to extension only
Set Extn=%~x1
REM Replace Spaces with underscores
Set Flenme=%Flenme: =_%
ECHO %~nx1 Changed to %Flenme%%Extn%
REM Now Rename the file
REN "%~f1" %Flenme%%Extn%
Edited By Zetleft on 1141893232
I use Lupas Rename for that sort of stuff.
It works great. Lots and lots of options.
Edited By Paul on 1141911045
It works great. Lots and lots of options.
Edited By Paul on 1141911045