Hi
Folks,
I need to delete
several files from a directory that were associated with an Excel process. I did
an $excel_app->quit which got rid of that process, but when I then tried to
do an "unlink" to get rid of the Excel files, I received the error "can't
unlink..... permission denied" error.
Dave Roth posted an
article on this problem in the "WindowsIT Pro" magazine, but a subscription
is required to see his solution, that uses the Win32-AdminMisc
module.
Here is the snippet
that the WindowsIT Pro magazine post....
This task isn't easy by any stretch of the imagination, but oddly enough it's an all too common one. A perfect example is when you want to rename or delete a file but you can't because a process has opened it. This problem is broken into two components: files that local processes have open and files that remote processes h . . .
Could some kind soul please tell me how to deal with this problem?
I'm sure this must be an FAQ, but I can't see a solution using Google.
Thanks in advance for any help.
Glen Plantz
_______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs