-
Command to delete old log files
I found a good command to delete old logs files which were filling up my server forfiles /P “path to your files /M filename.* /D -1 /C “cmd /c del @path” This will delete filename.* files older than one day.
Tips and notes from a techno geek
I found a good command to delete old logs files which were filling up my server forfiles /P “path to your files /M filename.* /D -1 /C “cmd /c del @path” This will delete filename.* files older than one day.