To batch remove spaces from your file names with Powershell script
$source = ‘C:\TEMP\rep’ ***Add here the image source path location****
$dest = ‘C:\TEMP\rep\back’ ***Add here the image destination path location****
Get-ChildItem $source | % {copy $_.FullName $(join-path $dest ($_.name – replace ‘ ‘))}