Hi,
RUN XCOPY for my backup and I want to know on how to place a code in the WAIT WINDOW the files that are copying.
Mikes suggestion will only show the named file variable 'lcFile'. Since XCOPY uses its own way of reading the blocks and copying it, I dont think we can get the file name individualy as they copy.
On the contrary, if an array is made.. say
=ADIR(laFiles,"C:\myData\*.*"

totFiles=ALEN(laFiles,1)
FOR I=1 to totFiles
lcFile = laFiles(i,1)
WAIT WINDOW "Copying "+laFiles(i,1)+" to DriveA:" NOWAIT
COPY laFiles(i,1) TO "A:\"+laFiles(i,1)
ENDFOR
This uses the Copy Command and not XCOPY command.
While I have given this, ChannelMaster has to think about..
1. Changing the floppy when it gets full... to insert next floppy.
2. One file exceeding the size of A drive capacity..
etc.
A better approach will be to use ZIP archive with span ability for multiple disks. OR a CAB arc.

ramani

(Subramanian.G),FoxAcc, ramani_g@yahoo.com