简体   繁体   中英

While running a batch file from Windows 10 cmd I'm getting an error that a term is not recognised as cmdlet function

This is the exact error on the cmd window.

this is the command I typed to be executed in the cmd

F:\Fast R-CNN\Cognitive tool kit\cntk\Scripts\install\windows>install.bat

CNTK Binary Install Script

F:\Fast : The term 'F:\Fast' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ F:\Fast R-CNN\Cognitive tool kit\cntk\Scripts\install\windows\ps\inst ...
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (F:\Fast:String) [], CommandNotF
   oundException
    + FullyQualifiedErrorId : CommandNotFoundException

Error during install operation

I've tried running as admin, direct clicking, changing the path etc. Kindly tell me a way to run this file. It's a batch file for a series of installations for the Microsoft cognitive tool kit.

看起来您需要将路径用引号引起来"F:\\Fast R-CNN\\Cognitive tool kit\\cntk\\Scripts\\install\\windows\\install.bat"

use "start" before the filename. Example:

F:\Fast R-CNN\Cognitive tool kit\cntk\Scripts\install\windows>start install.bat

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM