Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

batch script delete files older than 30 days

forfiles -p "C:whatever" -s -m *.* -d <number of days> -c "cmd /c del @path"
 
PREVIOUS NEXT
Tagged: #batch #script #delete #files #older #days
ADD COMMENT
Topic
Name
9+1 =