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".
精彩评论