|
-
Mar 8th, 2007, 10:42 AM
#1
Thread Starter
Junior Member
shell problem
Hello,
I'm creating a little program that is uninstalling another program.
This is done by using the shell command like this:
shell ("c:\program files\myapp\uninst.exe")
Now, once the uninstaller finished (checked that using the process list), I have to delete the folder myapp which is in program files.
Therefor, I'm using fso.deletefolder ("c:\program files\myapp"), but I always receive a permission denied message.
When I try this command without running the shell command first, it works, so I figure that the shell command keeps blocking the directory. How can I prevent that?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|