From comp.os.msdos.misc: Outsider (6.22/3.11) wrote: > > REPLACE exit codes > > The following list shows each exit code and a brief description of its > meaning: > > 0 > REPLACE successfully replaced or added the files. > > 1 > The computer has a version of MS-DOS that is incompatible with REPLACE. > > 2 > REPLACE could not find the source files. > > 3 > REPLACE could not find the source or destination path. > > 5 > The user does not have access to the files you want to replace. > > 8 > There is insufficient system memory to carry out the command. > > 11 > The user used the wrong syntax on the command line. > > Regards, > Outsider > > Rich, L, @ynot.net wrote: > > > > I'm utilizing the "replace" command in a batch file and need to know > > all the exit codes this command generates. The batch file contains "IF > > ERRORLEVEL" statements to trap the exit codes and perform conditional > > > > processing. I could not locate any info/documentation regarding this. > > Your assistance would be greatly appreciated. Thank you very much. > > > > Rich