Reputation: 1
Today I was asked to come up with a script that could do the following:
Now I know I will get treated like a noob, I have created some scripts to get this working by doing each step first and then trying to add them together, this always seems to fail.
Upvotes: 0
Views: 2430
Reputation: 200293
Use robocopy
in a batch file for this kind of task:
@echo off
robocopy D:\ E:\ /mov /s /minage:30
Don't waste your time on trying to re-invent robocopy
in VBScript.
Upvotes: 1