简体   繁体   English

输入访问目录的命令时出现命令提示符错误

[英]Command Prompt Error when entered the command to access directory

I open cmd C:\\Users\\Anonymous>我打开cmd C:\\Users\\Anonymous>

When I try to access something, it shows:当我尝试访问某些内容时,它显示:

C:\Program Files\Oracle\VirtualBox is not Recognized as Internal or External command,
operable program or Batch file

在此处输入图片说明

Earlier, the path environment variable was empty so I put in早些时候, path环境变量是空的,所以我输入

小路

Need Fix!需要修复!

you're just writing a path into command line.您只是将路径写入命令行。 I guess you want to navigate to specific folder.我猜您想导航到特定文件夹。 In that case you should use command CD (Change Directory) like this:在这种情况下,您应该像这样使用命令CD (更改目录):

cd \ 

(used to navigate to root of your c: drive) (用于导航到您的 c: 驱动器的根目录)

cd "Program Files"

(navigate into "Program Files" folder) (导航到“程序文件”文件夹)

cd Oracle 

(go into Oracle folder) (进入 Oracle 文件夹)

etc...等等...

Alternatively, you can write all that in single CD command或者,您可以在单个CD命令中编写所有内容

cd "\Program Files\Oracle\VirtualBox"

To summarize: You're making a mistake by not using any command (hence the error (...)is not Recognized as Internal or External ).总结一下:您没有使用任何命令就犯了一个错误(因此错误(...) is not Recognized as Internal or External )。 CD is command, "c:\\Program Files" is path, a parameter for CD command. CD是命令, "c:\\Program Files"是路径,CD命令的一个参数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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