[<<]Message[>>]        Author            Subject            Thread[>>]

Number : 3459 Date : 2003-01-06 Author : CyahTess Subject : Exit code for creating directory structure incorrect Size(KB) : 1
In using xxcopy to duplicate a directory structure, although it seems to work properly the exit code return is 100 or 1 when using /ER. This differs from the expected behaviour I think. for e.g. using xxcopy /T /I /E ROOT1 ROOT2 for the following empty directory structure ROOT1 |_SUB1 |_SUB2 \_SUB3 gives.. XXCOPY == Freeware == Ver 2.82.7 (c)1995-2002 Pixelab, Inc. ---------------------------------------------------------------------- D:\ROOT2 D:\ROOT2\SUB1 D:\ROOT2\SUB2 D:\ROOT2\SUB3 ---------------------------------------------------------------------- Directories processed = 4 Total data in bytes = 0 Elapsed time in sec. = 0.015 Action speed (MB/min) = 0 Files copied = 0 Directories created = 4 Exit code = 100 (No files were found to copy) ..when using /ER Exit code (with /ER) = 1 (No files were found to copy) Shouldn't the exit code be 0 ? The reason given for exit code 1 is that no files were found to copy, but the /T parameter is used to only copy a directory structure ignoring the files.
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.