The term 'appcmd' is not recognized as the name of a cmdlet

后端 未结 7 1190
故里飘歌
故里飘歌 2020-12-17 09:09

I\'m getting the following error message:

The term \'appcmd\' is not recognized as the name of a cmdlet, function, script file, or operable program. C

7条回答
  •  情歌与酒
    2020-12-17 09:54

    Appcmd.exe exists at the location %systemroot%\system32\inetsrv\. You either need to udpate your PATH variable to add the path %systemroot%\system32\inetsrv\ like

    SET PATH=%PATH%;%systemroot%\system32\inetsrv\
    

    or you can use Set-Location to first go to the location of Appcmd.exe like

    Set-Location %systemroot%\system32\inetsrv\
    

    and then run you command.

提交回复
热议问题