batch file script 'deloldfiles.cmd' below. Syntax would be:
deloldfiles numdays filepath filespec
eg deloldfiles 30 c:\temp *.*
---------
@echo offif "%1" == "" goto errorif "%2" == "" goto errorif "%3" == "" goto error
echo.echo Deleting %3 files %1 or more days old from %2echo.forfiles /p %2 /s /m %3 /d -%1 /c "cmd /c del @path"goto end
:errorecho.echo Deletes files older than nn daysecho Syntax: DELOLD nn path filespececho.
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add example@example.com to your trusted senders list in your email software.