build 39 fix ...

May 29, 2008
64
0
#1
build 39 fixes the copy /s/f issue (see previous thread)
I find it interesting that the /F option suppresses error messages in individual directories.
Not complaining - I think that on an /S they should be suppressed anyway!

IMHO from a logical point of view the error messages should appear or not appear consistently with or without the /F. From an implementation point of view I can see how the inconsistency could result.
Just out of interest - is this WAD?

----

C:\yhWork\test-> dir /s/f/h
C:\yhWork\test\test01
C:\yhWork\test\test02
C:\yhWork\test\test03
C:\yhWork\test\xxx1.txt
C:\yhWork\test\test01\ppp.qqq
C:\yhWork\test\test02\xxx.txt
C:\yhWork\test\test02\xxx2.txt
C:\yhWork\test\test02\yyy.zzz
C:\yhWork\test\test03\qqq.qqq

C:\yhWork\test-> copy /s/f xxx*.* ..\test2
C:\yhWork\test\xxx1.txt => C:\yhWork\test2\xxx1.txt
C:\yhWork\test\test02\xxx.txt => C:\yhWork\test2\test02\xxx.txt
C:\yhWork\test\test02\xxx2.txt => C:\yhWork\test2\test02\xxx2.txt
3 files copied

C:\yhWork\test-> copy /s xxx*.* ..\test2
C:\yhWork\test\xxx1.txt => C:\yhWork\test2\xxx1.txt
TCC: (Sys) The system cannot find the file specified.
"C:\yhWork\test\test01\xxx*.*"
C:\yhWork\test\test02\xxx.txt => C:\yhWork\test2\test02\xxx.txt
C:\yhWork\test\test02\xxx2.txt => C:\yhWork\test2\test02\xxx2.txt
TCC: (Sys) The system cannot find the file specified.
"C:\yhWork\test\test03\xxx*.*"
3 files copied
 

rconn

Administrator
Staff member
May 14, 2008
10,403
95
#2
build 39 fixes the copy /s/f issue (see previous thread)
I find it interesting that the /F option suppresses error messages in individual directories.
Not complaining - I think that on an /S they should be suppressed anyway!

IMHO from a logical point of view the error messages should appear or not appear consistently with or without the /F. From an implementation point of view I can see how the inconsistency could result.
Just out of interest - is this WAD?
WAD -- /F doesn't suppress all errors, just the "file not found" one when processing subdirectories. (There wouldn't be much point in an option that didn't create empty subdirectories if it complained every time it found an empty subdirectory!)