batch command for delete older files

forfiles /p "z:" /d -3 /c "cmd /c del @path "

where z: is folder where files are stored

3 is number of  day

Nessun commento: