How to Batch file to delete files older than X days Quite often, we have an requirement to delete old log files and used powershell scripting in my previous project. With this customer, they are still with Windows 2003 and have to use batch file to achieve the same. FORFILES /p "E:\logs" /s /m
How to How to generate file name with timestamp in windows batch file? Recently, we had requirement to generate unique file name to transfer data to another DC in an encrypted format from Windows 2003 server. As a POC and to keep costs down, we decided to use windows batch file scripting to do this. We suffixed