scripts, batch file, windows 2008, auto delete file, file generation, file rotate every week
Posted on 2014-03-03
request your help for file rotation.
i have batch file, it move the file from one location to another location in the same computer.
move "D:\Program\rsa\key\log\*.audit" "D:\Program\Backup\to HP\AUDIT_TEXT_Files\PRI_RSA_Audit_Text_File_%datetime%.audit"
It move and rename the file with yyyy_mm_dd_hh_mm_ss
i want help for further batch file for keeping last 30 created files from the latest file create.