royalcheese
Technical User
I have a program that creates lots of data and I want to have a automatic clearing function.
I want to look for specific folder say the root is
"c:\program files\MyProgram\"
Then I want to delete any folders (and their contents) within this directory with the word "Output" at the start
EG folders would be deleted
"c:\program files\MyProgram\output-12"
"c:\program files\MyProgram\output-Total"
Can anyone help with this .
Many Thanks in Advance.
Chris
I want to look for specific folder say the root is
"c:\program files\MyProgram\"
Then I want to delete any folders (and their contents) within this directory with the word "Output" at the start
EG folders would be deleted
"c:\program files\MyProgram\output-12"
"c:\program files\MyProgram\output-Total"
Can anyone help with this .
Many Thanks in Advance.
Chris