开发者

Meaning of COPY Command Used by Visual Studio Build?

开发者 https://www.devze.com 2023-01-15 10:54 出处:网络
I don\'t quite understand the \\ and \\.. syntax in the compile error I\'m getting Error 6 The command \" copy

I don't quite understand the \ and \.. syntax in the compile error I'm getting

Error 6 The command " copy c:\project\new\.. \new\bin\x64\debug\garmin.dll c:\project\new\bin\x开发者_开发知识库64\Debug\ " exited with a code 1.

Can anyone explain this to me?


\..\ simply means "the parent directory". So in this case, \new\..\new\ contains redundancy, and simply means \new\. You are trying to copy a file to the directory it is already in, but it won't happen because the file already exists (and perhaps is in use?)


It's the same as from the command line. .. is on directory "up".

0

精彩评论

暂无评论...
验证码 换一张
取 消