I have a variable like this
\"Folder With Spaces/filename.ext\"
When I pass it to my program via PHP\'s system command, arguments are separ
try this in your batch file:
set str=hello_world_try_this set str=%str:_= % echo.%str%