Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[BATCH] forfiles ( question about output )

Status
Not open for further replies.

0318

Programmer
Jan 18, 2004
25
0
0
NL
this is what i have, files older then 7 days will be moved to another directory.

forfiles -pc:\temp2 -s -m*.* -d-7 -c"CMD /C move @FILE C:\temp3
my question.
people make there own map in temp2, and place there own files in it.. the maps shouldnt be deleted, how can i make my script look in those maps?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top