![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject [<<]Thread
Number : 2572 Date : 2002-07-30 Author : Garry Deane Subject : Re: List to a file? Size(KB) : 1
Use /onfilename.log to create a logfile (use /oafilename.log to append to an existing file) and /of3 to include the list of selected files in the logfile much the same as the screen display. You can also use /oD (Deleted files), /oE (Error summary), /oI (Include files), /oP (detailed parameter list), /oS (Skipped files) and /oX (Excluded files) to include additional detail. Depending on just what you are trying to achieve, another technique that can sometimes be useful is to redirect output to either CON (the screen) or to a logfile e.g. set logfile=CON if "%x%"=="list" set logfile=logfile.txt xxcopy ...... > %logfile% Garry --- In xxcopy@y..., William Malloy wrote: > Any way to get the /L switch to list it's output to a > file, without having to use ">" redirection? > I am trying to write a batch file that (via > parameters) will either COPY or LIST the potential > copy data (in summary) to a file. > There will be a 'switch'(%x%) to determine if it's a > COPY or a LIST request. There will be many individual > batch files called from within one. > > MASTER.BAT will 'call' a list of individual bat files. > > Thanks!
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.