![]() ![]() ![]() In this portion %newname: =_% on every line in the lower block it replaces the character after : with the character after = so as it stands the bunch of characters are going to be replaced with an underscore. The filename characters = and % cannot be replaced (going from memory here) and an ^ in the filenames might be a problem too. This batch file can help, but it has some limitations. Here, I've shown how to batch rename all the files and directories in the current directory that contain spaces by replacing them with _ underscores. ![]() Use PowerShell to do anything smarter for a DOS prompt. ![]()
0 Comments
Leave a Reply. |