Dont have permission to delete in the Network

  • Thread starter Thread starter gabi.haimov
  • Start date Start date
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
 
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
 
Back
Top