so far, i found 1 minor problem,
delims may be " - " and not "-", this would fix
Code: Select all
abc - 123.mp3 becoming
123-abc .mp3
Code: Select all
abc - 123.mp3 becoming
123-abc .mp3
Code: Select all
suppose a file name has these chars besides the alphabet !ab & , ( ' cd - 12 ! & , '34.mp3
and i want to rename a file as 12 ! & , '34 - !ab & , ( ' cd.mp3
there is only one " - " in each file.
Code: Select all
SET DRSPEC=C D E G H I J K L M N O P Q R S T U V W
SET FS1=TA
SET FS2=GO
SET ZLS=M:\11.TXT
SET FSPEC=*%FS1%*%FS2%*.*" "*%FS2%*%FS1%*.*
Code: Select all
for %%a in ("%FFF3%") do set "FFF6=%%~nxa"