Hi Rex ...
I ran into the following today -- it seems that copy /un tests the update process without copying anything, but copy /nu does the update and ignores the /n. I guess the /u must override it. I use this a lot and I always do /un, today I just happened to type it in the other order.
I imagine this is long-standing and may be WAD but if so it might be worth documenting as a behavior of /n. Is the rule just that /n should always be the last option, if used?
Example:
[c:\]ver /r
Thanks,
Tom
I ran into the following today -- it seems that copy /un tests the update process without copying anything, but copy /nu does the update and ignores the /n. I guess the /u must override it. I use this a lot and I always do /un, today I just happened to type it in the other order.
I imagine this is long-standing and may be WAD but if so it might be worth documenting as a behavior of /n. Is the rule just that /n should always be the last option, if used?
Example:
[c:\]ver /r
TCC LE 13.03.39 Windows XP [Version 5.1.2600]
TCC LE Build 39 Windows XP Build 2600 Service Pack 2
[c:\]md test
[c:\]echo hello > junk.txt
[c:\]*copy /un junk.txt test\
C:\junk.txt => C:\test\junk.txt
1 file would be copied
[c:\]*copy /nu junk.txt test\
C:\junk.txt => C:\test\junk.txt
1 file copied
TCC LE Build 39 Windows XP Build 2600 Service Pack 2
[c:\]md test
[c:\]echo hello > junk.txt
[c:\]*copy /un junk.txt test\
C:\junk.txt => C:\test\junk.txt
1 file would be copied
[c:\]*copy /nu junk.txt test\
C:\junk.txt => C:\test\junk.txt
1 file copied
Thanks,
Tom