Delete Files Recursive

Got a problem you cannot solve? Try here.
Post Reply
swarovski
Posts: 109
Joined: Mon Apr 16, 2007 8:32 pm

Delete Files Recursive

Post 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!
swarovski
Posts: 109
Joined: Mon Apr 16, 2007 8:32 pm

Post 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.
Mateo
Posts: 20
Joined: Tue Aug 21, 2007 10:15 am

Post 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$\\
swarovski
Posts: 109
Joined: Mon Apr 16, 2007 8:32 pm

Post 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~~~
Post Reply