![]() But, when one works on strings that contain spaces or special characters, it is usually much safe to use quotes. There are also a few examples that work better using quotes, like the set /a statement, etc. cd "C:\User\Spaced Name\Spaced FileName.txt". ![]() Simply by adding quotes around the path, the issue would be solved. x=`somecommand` The Windows command processor does not have direct backquoting, but you can fake it by abusing the FOR command. In unix-style shells, this is done via backquoting. There is no obvious way to read the output of a command into a batch file variable. Don’t worry, it’ll be over in a few days. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |