cmd - Move files with Bat file after so many days -


i setup bat file after amount of days (5) moves files different folder.

the folder paths moving c:\mags , going c:\mags\archives

thanks, liam

if you're using operating system later xp, can use forfiles command.

@echo off  :: search in c:\mags directory :: search files @ least 5 days old :: move file found c:\mags\archive forfiles /p c:\mags /c "cmd /c move @file c:\mags\archive" /d -5 

Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

Save and close a word document by giving a name in R -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -