I really to automate deletion of some files on a network share.....if there a simple way to write a batch file to go thru the folder and delete any files older than 2 weeks.....temporary report files ...
Each Linux command returns an exit code, with 0 indicating success and non-zero values indicating failure. You can use the $? variable to access the exit code and control program flow in scripts. Be ...
Wouldn't it be cool if PowerShell could automatically write scripts so that you didn't have to? Believe it or not, it is possible. Of course the old saying that if something sounds too good to be true ...
I'm writing a simple batch file to move, then delete files older than 7 days. Using Robocopy for the move, then using Forfile to search the old files and Del for the deletion of files. My problem is ...