I know this is an old thread, but it shows up in search results a lot so Im going to put this here in case anyone needs it. These are the updated commands for deleting files and scheduling a task to remove W3. SVC log files from Server 2. The Forfiles. exe command for deleting the files is the same as Robert. Here it is for completeness BASHForfiles. C inetpublogsLog. FilesW3. SVC1 m. Cmd. exe C del pathI found plenty of other references online to scheduling this command as a task for 2. So here is how I did it Create a batch file at C inetpublogsLog. FilesW3. SVCLogs. Maintenance. batPut your Forfiles commands in that batch file you will need to create W3. SVCLogs. Maintenance. My batch file contains two lines, one for each W3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
October 2017
Categories |