Dont have permission to delete in the Network

G

gabi.haimov

Hi i have a problem
i build a script in VBS that delete folder from my network
the problem is that the script gets err of permission denied 800a0046
the delete goes like that
objofs.deletefolder ("\\computerX\c$\temp")

i chek and see that the problem is that the folder in status of read-
only
if i remove it the problem goes but i have a lot of computers in my
network how can i do it automatic
 
D

Dave Patrick

It may be because you're using the administrative share which would require
local admin rights.



--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top