FOREFILES Removing Directory
hello,
looking working forefiles windows 2003 server. creating backups on drive , use forefiles go drive , delete folders older 3 days. backups come in daily, want have forefiles delete folders older 3 days old. dont want go folders, need entire folder , contents deleted if folder created 3 days or more. please appreciated.
looking working forefiles windows 2003 server. creating backups on drive , use forefiles go drive , delete folders older 3 days. backups come in daily, want have forefiles delete folders older 3 days old. dont want go folders, need entire folder , contents deleted if folder created 3 days or more. please appreciated.
it's pretty late here , more (which try in morning) have tried out using for?
for /d %a in ("c:\home\*") echo %a %~ta
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/for.mspx
this walks down folders c:\home , outputs folder , date/time modified stamp. pretty sure if statement added conditional rd.
i imagine whip vbscript pretty task too. :)
for /d %a in ("c:\home\*") echo %a %~ta
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/for.mspx
this walks down folders c:\home , outputs folder , date/time modified stamp. pretty sure if statement added conditional rd.
i imagine whip vbscript pretty task too. :)
Windows Server > Windows Server General Forum
Comments
Post a Comment