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
Post a Comment