A command in a .bat file is unrecognized when the .bat file is called from an Inno Setup but works fine when I run the bat file manually

后端 未结 2 947
说谎
说谎 2020-12-20 06:26

I have the following .bat file:

fbwfmgr /enable
.
.
.
fbwfmgr /addexclusion c: \"some folder 1\"
fbwfmgr /addexclusion c: \"some folder 2\"
.
.
.
         


        
2条回答
  •  不知归路
    2020-12-20 06:47

    You probably need to provide the path to fbwfmgr.

    e.g.

    "C:\Users\JOHNDOE\SomeDir\fbwfmgr“

    Note

    You will almost certainly need to run the batch script with administrative privileges too! I know you said you are logged in as the administrator, but you need to be certain that you have the permission for the script to be running especially as you are running it from another application, (inno).

提交回复
热议问题