It works!!!
Many many thanks!!!
Search found 3 matches
- 05 Sep 2014 09:56
- Forum: DOS Batch Forum
- Topic: Help needed to create script
- Replies: 4
- Views: 2099
- 05 Sep 2014 09:16
- Forum: DOS Batch Forum
- Topic: Help needed to create script
- Replies: 4
- Views: 2099
Re: Help needed to create script
Many thanks for your script I adjusted your line FORFILES -p%from% -m%fs% -d%days% %s% -c"%p1%==TRUE %p2%" to have a space after -p -m -d -c, otherwise I got syntax error for FORFILES FORFILES -p %from% -m %fs% -d %days% %s% -c "%p1%==TRUE %p2%" I got the following results, it di...
- 05 Sep 2014 03:37
- Forum: DOS Batch Forum
- Topic: Help needed to create script
- Replies: 4
- Views: 2099
Help needed to create script
I need to write a script to run it from a target parent folder, it searches all the subfolders containing the subfolder name "draft"
and delete any files that is more than 4 months old in it
Can someone help me out?
Thanks
and delete any files that is more than 4 months old in it
Can someone help me out?
Thanks