How to remove spaces from file names (in bulk)
Here is a script that can efficiently bulk rename files, stripping all spaces from the name. :renameNoSpace [/R] [FolderPath] @echo off setlocal disableDelayedExpansion if /i “%~1″==”/R” ( set “forOption=%~1 %2” set “inPath=” ) else ( set “forOption=” if “%~1” neq “” (set “inPath=%~1\”) else set “inPath=” ) for %forOption% %%F in (“%inPath%* *”) do ( … Read more