I'm trying to run an executable from the command line. Here is the full path to the .exe:
C:Program FilesRR-3.0.2binRscript.exe
So, the command I type into the command line to open this .exe is:
"C:Program FilesRR-3.0.2binRscript.exe"
This works fine on my PC, but on another PC double quotes do not seem to work when dealing with file names that include spaces. I get the following error on that PC:
'C:Program' is not recognized as an inteal or exteal command,
operable program or batch file.
Has anyone else experienced similar problems where double quotes won't escape spaces in file paths?
برچسب:
نویسنده: استخدام کار