> Hi,
>
[quoted text clipped - 4 lines]
> Could some put some light on this.
> Thanks in advance,
- What is your script?
- Can you copy the files using Windows Explorer?
Program Files is a restricted folder on Vista.
If you want access then don't install to Program
Files...or don't use Vista.
> I am trying to put some files in Program Files folder in Vista machine using
> VB script but I see "Permission Denied" with Error Number: 70
>
> Could some put some light on this.
> Thanks in advance,
PaulM - 04 Jul 2008 04:40 GMT
You need FULL Administrator Privilege to run a vbscript. You will get
access denied all the time.
If you have On Error Resume Next, the script will run, but will not edit the
registry.

Signature
-------------------------------------------------------------------------------------
www.paulsxp.com
www.paulsxp.com/forum
www.supportspace.com/home/affiliates.s2?aiu=paulm
------------------------------------------------------------------------------------
> Program Files is a restricted folder on Vista.
> If you want access then don't install to Program
[quoted text clipped - 6 lines]
>> Could some put some light on this.
>> Thanks in advance,