E
emerald77
Guest
I have the following batch file (.cmd)echo off set start_date=%date% %time% set foldername=MyFiles_%date:~-10,2%-%date:~7,2%-%date:~-4,4% Robocopy C:\Users\%username%\Documents E:\%foldername%\My_Docs\ /S /COPYALL /MT:16 /R:10 /W:5 /XJD /XD "C:\Users\%username%\Music" "C:\Users\%username%\Pictures" "C:\Users\%username%\Videos" /XF "*.ISO" /ZB /LOG:"C:\Users\%username%\Desktop\ROBOCOPY_Log.txt" /NDL powershell -command "&{$start_date1 = [datetime]:arse('%start_date%'); $end_date1 = [datetime]:arse('%date% %time%'); echo (-join('Duration in seconds: ', ($end_date1 - $start_date1).Tot
Continue reading...
Continue reading...