How to mention C:\Program Files in batchfile

后端 未结 7 2110
迷失自我
迷失自我 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:22

    While createting the bat file, you can easly avoid the space. If you want to mentioned "program files "folder in batch file.

    Do following steps:

    1. Type c: then press enter

    2. cd program files

    3. cd "choose your own folder name"

    then continue as you wish.

    This way you can create batch file and you can mention program files folder.

提交回复
热议问题