Batch Scripting Windows

Renaming Files Using Batch

i often have to change the file names of music i have imported from CD this little script allows me to remove the track number from the file name. @echo off setlocal DisableDelayedExpansion for /f “usebackq delims=” %%N in (`dir /s /b`) do ( set var=%%~nxN setlocal EnableDelayedExpansion set “org=!var!” set “var=!var:0 =!” set “var=!var:1 …

Continue Reading