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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -