'C:\Users \'不被识别为内部或外部命令,可操作的程序或批处理文件 [英] 'C:\Users\' is not recognized as an internal or external command,operable program or batch file

查看:635
本文介绍了'C:\Users \'不被识别为内部或外部命令,可操作的程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在建立atmel工作室6时出现这个错误:
C:\Program Files\Atmel\Atmel Studio 6.1\shellUtils\make.exe all
'C:\用户\'不被识别为内部或外部命令,
可操作的程序或批处理文件。

i have this error in building in atmel studio 6 : C:\Program Files\Atmel\Atmel Studio 6.1\shellUtils\make.exe all 'C:\Users\' is not recognized as an internal or external command, operable program or batch file.

推荐答案

显示的整个字符串需要在引号中。不幸的是,你没有显示任何代码...所以我们离开猜测。它可以作为字符串使用。 2.更有可能你有这样的东西:

The entire string you show needs to be in quotes. Unfortunately you did not show any code... so we are left to guess. 1. It may appear as a string where it is used. 2. More likely you have something like this:

set SomeVariable=C:\Program Files\Atmel\Atmel Studio 6.1\shellUtils\make.exe

通常情况下, ;使用引号,如下面所示,所以你确定只有尾随空格,如果你打算有它们),并做引用时使用变量,因为你可能不总是想要这些引号。例如,下面的第一行定义了字符串;第二行将显示它;第三行将执行它。第四行将用于将字符串传递到子例程。

Typically you would leave that as it is (or better yet; use the quotes as I have shown below so you are certain there only trailing spaces if you intend to have them) and do the quoting when the variable is used because you may not always want those quotes. For example, the first line below defines the string; the second line would display it; and the third line would execute it. The 4th line would be used to pass the string to a subroutine.

set "SomeVariable=C:\Program Files\Atmel\Atmel Studio 6.1\shellUtils\make.exe"
echo(%SomeVariable%
"%SomeVariable%"
call Subroutine "%SomeVariable%"

Ahhhh ...根据后面提供的打印屏幕,我想你需要使用这样的引号:

Ahhhh... Based on the Print screen supplied later I think you need to use quotes like this:

"C:\Program Files\Atmel\Atmel Studio 6.1\shellUtils\make.exe" all

这篇关于'C:\Users \'不被识别为内部或外部命令,可操作的程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆