G
Guest
I'm using WSH with a VBScript file to copy folders and files from a network
to my local drive. The first time it runs fine, creates the new folders and
copies the files. But it creates them (all the copied files) as "readonly"
and I cannot modify this attribute. I created the original files on the
network as well, so you would think I have full rights to these files. I
have tried manually changing the readonly attribute with Windows Explorer,
but it does not keep the new attribute. I have modified the security
settings to give myself full access to the new folders, but I still cannot
make the change.
Any ideas out there?
A note to Michael, frequent contributor: a folder may not have a "readonly"
attribute, but the readonly attribute can be set for a folder object using
the filesystemobject, meaning that all of its files' (and subfolders and
their files??) attributes can be set. It really is misleading!
to my local drive. The first time it runs fine, creates the new folders and
copies the files. But it creates them (all the copied files) as "readonly"
and I cannot modify this attribute. I created the original files on the
network as well, so you would think I have full rights to these files. I
have tried manually changing the readonly attribute with Windows Explorer,
but it does not keep the new attribute. I have modified the security
settings to give myself full access to the new folders, but I still cannot
make the change.
Any ideas out there?
A note to Michael, frequent contributor: a folder may not have a "readonly"
attribute, but the readonly attribute can be set for a folder object using
the filesystemobject, meaning that all of its files' (and subfolders and
their files??) attributes can be set. It really is misleading!