H,
I need to create a script to run as a pre-script on our Backup schedule to first move files to a destination folder and delete files older than x days on that dessication folder.
I know I can use Robocopy and forfiles to create separate tasks but i need to run it on the same script..
eg:-
move files in c:\Backup\ to D:\Old_Backup and search for files older than 3 days on D:\Old_Backup and delete them from D:\Old_Backup folder.
Thanks in advance...
robocopy
orforfiles
because it won't work as it should. – foxidrive