Page 1 of 1

Delete Files Recursive

Posted: Fri Nov 16, 2007 4:19 am
by swarovski
I have tried to use Delete Files Recursive to delete a folder like this:
C:\\Document and Settings\\Administrator\\Local Settings\\Application Data\\CompanyName\\ProductName

It is a direct execute so it is not affected by the Apply Install/Uninstall command right?

I have double check the path is correct but the folder are not deleted (all contents are still here) after execute this...

Any help would be greatly appreciated..
thanks!

Posted: Tue Nov 20, 2007 1:39 am
by swarovski
hihi. anyone have similar problem?

I have tried this on both Windows XP and Windows Vista machines...
same...

the folder must be empty or the folder will remain exist.

What I want is delete recursive.

Posted: Tue Nov 20, 2007 11:00 am
by Mateo
Maybe the files are in use? Also, I had to use it like this:

Code: Select all

Recursively Delete Files $SOMEDIR$\\*
instead of:

Code: Select all

Recursively Delete Files $SOMEDIR$\\

Posted: Tue Nov 20, 2007 10:26 pm
by swarovski
Mateo wrote:Maybe the files are in use? Also, I had to use it like this:

Code: Select all

Recursively Delete Files $SOMEDIR$\\*
instead of:

Code: Select all

Recursively Delete Files $SOMEDIR$\\
Oh yeah!!!!
You are rock Mateo!
What I miss is that * at the end.

Thank you so much~~~