Solved Using Task Scheduler fails to run RoboCopy.

Good stuff Alan.

The /mt switch allows you to allocate more threads to the copying process thereby speeding up the copying process (up to a point) - /mt:4 is good enough. It should be added to every robocopy line in your script.

Yes, you can now add more lines to your script. Your example would look like this:

Code:
robocopy I:\DATA M:\Backup_DATA /e /np /mt:4 /log:backup_log.txt
robocopy D:\Gardening M:\Backup_DATA /e /np /mt:4 /log[COLOR="Red"][B]+[/B][/COLOR]:backup_log.txt

Note the use of the + in the 2nd line - it will add to the existing log. Also, what is in C:\system32 that you want to backup? Are those files that you created?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
Hi Golden.

I do not have either a System32 or Gardening files to copy, they are both fictitious but thought they were more real than saying C:\x , I didn't mean to confuse.

I will leave you in peace, (for a little while anyway;)) and go away and 'play' Robocopy.

Many thanks for your patience and help.

Best regards
Alan.

P.S. As the title of of the thread is 'Using Task Scheduler fails to run RoboCopy' and it still does not run Robocopy, I suppose I shouldn't mark this as Solved!!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Build
OS
Windows 7 Professional 64bit
CPU
i5-2500K 3.30Hz 6MB Cache
Motherboard
ASUS P8P67 Pro B3 Revision
Memory
16GB DDR3
Graphics Card(s)
ASUSGeforce GTX1050Ti 4GB
Sound Card
On-Board
Monitor(s) Displays
LG23MP65HQ-P
Hard Drives
WD Caviar Green 500gb
Maxtor 300gb
WD External USB 120gb
WD My Passport USB 2TB
LUX3 External USB 1TB
PSU
Corsair 800W
Case
Antec
Cooling
Arctic 13 Cooler
Antivirus
Bitdefender Total Security 2017
Browser
FireFox
:thumbsup:

Its OK, mark as solved anyway
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
Robocopy bat file to delete x days not accessed files is not working

All,

Need help.. I created a robocopy bat file which has following switch to delete any files which have not been accessed in last 10 days. I run this batch file on my Windows 7 32 bit client & it does not work.. Can someone please help me. MAXLAD is for last not accessed files. I need to schedule this bat file to run through task manager on windows 2008 server.

mkdir c:\delete c:\robocopy.exe c:\Source c:\Delete /e /XF/C:\Source\Project /MOVE /MAXLAD:10 /LOG+:c:\robocopy.log rmdir c:\delete /s /q



Thanks
anamica
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell, HP
OS
Windows 2008 64 bit, windows 7 32 bit, windows 2012 R2 64 bit
Back
Top