How to mention C:\Program Files in batchfile

后端 未结 7 2114
迷失自我
迷失自我 2021-02-01 17:03

I need to invoke an exe file in C:\\Program Files directory from a batch file.How can we mention the directory name \"Program Files\" in batch file.I am getting error like C:\\P

7条回答
  •  醉话见心
    2021-02-01 17:13

    Now that bash is out for windows 10, if you want to access program files from bash, you can do it like so: cd /mnt/c/Program\ Files.

提交回复
热议问题