Possible Duplicate:
How can I mass rename files from the command line or using a 3rd party tool?
I have many PDFs of EBooks but some of them have underscores in their filenames so it becomes difficult to search the file by some words. Is there any program/script/software which replace all underscores with blank space in windows 7
Here's your one-liner CLI answer - without installing additional software:
– Murdoch Ripper Oct 30 '13 at 17:10for /f "tokens=* delims= " %i in ('dir /b "*.pdf"') do Set LIST=%i& set LIST | ren "%~fi" "%LIST:_= %"