Guest gianler Report post Posted April 1, 2004 Hello guys.. the first time I use this incredible program.. Only a simply (for you..) question, I take a search but I didn't find it: I'll do every night a backup of my hard-disk (only few directories) in one usb temporary hard disk.. I find the "dircopy" command, it is ok; than I do the "shutdown(13)" command to power down the PC. How can I do to have a log (text file) of all file copied and if the copy is ok? Thank you. PS excuse for my english Share this post Link to post Share on other sites
trids 1 Report post Posted April 1, 2004 (edited) How about ..;Create log of backed up files, including date and folder.. RunWait(@COMSPEC & ' /c dir /s "U:\Backups\*.*">"C:\Backups.LOG"','',@SW_HIDE) ;Now C:\Backups.LOG is the log you want;o) .. Assumes that "U:" is your USB drive, and you have copied stuff to the folder "U:\Backups\". Hope this helps Edited April 1, 2004 by trids Share this post Link to post Share on other sites
Guest gianler Report post Posted April 1, 2004 Thank you Trids.. I test it Ciao Share this post Link to post Share on other sites
Guest gianler Report post Posted April 1, 2004 I tested it.. but it isn't I wanted it.. In Dos mode there is the xcopy command that make a list (in real time) of copied files and than at the end of the operation tell me that the operation is ok with n.. copied files. How can I have the list of copied files in a log files? Thx Share this post Link to post Share on other sites
GrahamS 0 Report post Posted April 1, 2004 TryRunWait(@COMSPEC & ' /c xcopy /s /y C:\MyDir\*.* U:\Backups > D:\Projects\Backups.txt"','',@SW_HIDE)(assumes c:\MyDir is the directory that you want to back up)The RunWait command can run any dos command GrahamS Share this post Link to post Share on other sites
Guest gianler Report post Posted April 1, 2004 thank you.. Share this post Link to post Share on other sites