- Jun
- 789
- 7
Why do the two copy commands below with "/n" produce different results? The only difference is where on the command line the "/n" is.
C:\Junk\Bar>dir
Volume in drive C is OS Serial number is 1ce5:1203
Directory of C:\Junk\Bar\*
11/17/2009 5:07p DIR .
11/17/2009 5:07p DIR ..
11/17/2009 5:07p SYMLINKD Sym [C:\Junk\Foo\]
0 bytes in 0 files and 3 dirs
191,257,014,272 bytes free
C:\Junk\Bar>copy /s /e /n /nj * ..\
C:\Junk\Bar\Sym\Foo.txt => C:\Junk\Sym\Foo.txt
1 file would be copied
C:\Junk\Bar>copy /s /e /nj /n * ..\
0 files would be copied
C:\Junk\Bar>copy /s /e /nj * ..\
0 files copied
C:\Junk\Bar>
Vista Home Premium. Take Command 11.00.33.
C:\Junk\Bar>dir
Volume in drive C is OS Serial number is 1ce5:1203
Directory of C:\Junk\Bar\*
11/17/2009 5:07p DIR .
11/17/2009 5:07p DIR ..
11/17/2009 5:07p SYMLINKD Sym [C:\Junk\Foo\]
0 bytes in 0 files and 3 dirs
191,257,014,272 bytes free
C:\Junk\Bar>copy /s /e /n /nj * ..\
C:\Junk\Bar\Sym\Foo.txt => C:\Junk\Sym\Foo.txt
1 file would be copied
C:\Junk\Bar>copy /s /e /nj /n * ..\
0 files would be copied
C:\Junk\Bar>copy /s /e /nj * ..\
0 files copied
C:\Junk\Bar>
Vista Home Premium. Take Command 11.00.33.