views:

30

answers:

2

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\x64\Debug\ " exited with a code 1.

Can anyone explain this to me?

A: 

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

BioBuckyBall
A: 

\..\ 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?)

Mark H