Search found 2 matches

by h17rj0
21 May 2010 07:36
Forum: DOS Batch Forum
Topic: Batch file to delete files over 10 days old
Replies: 4
Views: 6343

Re: Batch file to delete files over 10 days old

hey excellent thanks agerman. can you tell me how i need to amend the path so this works on the server. so instead of "-pC:\Documents and Settings\admin\Desktop\New Folder" -m*.* -d-10 -s -c"cmd /c del /k @FILE| echo @FILE" i thought i could do "-p\\server address" -m*....
by h17rj0
20 May 2010 03:35
Forum: DOS Batch Forum
Topic: Batch file to delete files over 10 days old
Replies: 4
Views: 6343

Batch file to delete files over 10 days old

Hi, Can someone please help me I have created a batch file that deletes files over 10days old. I have managed to do this but this will not delete files with spaces in the name, any ideas? forfiles "-pC:\Documents and Settings\admin\Desktop\New Folder" -m*.* -d-10 -s -c"cmd /c del /k @...