Why are intend to create environmental variable from WScript.Shell? I dont 
see you are trying to get any process or system level variables in your 
code.

So can directly create environment variables by using "Environment("var 
name").

If you want to go with your way with WScript's environmental variable, 
please refer this link which tells you what type of Env variables you have 
to use.
http://technet.microsoft.com/en-us/library/ee156595.aspx

Hope it helps.

Thanks,
Uday

On Monday, 16 December 2013 19:48:22 UTC+5:30, Venkat Kandula wrote:
>
> Hi All,
>
> On running my VBS file, throws 'Permission Denied Error'. This error is 
> not occurring in all the machines but in few. In code we're creating 
> Environment Variables and setting the values respectively. We've checked 
> all the permissions of the file; all as Admin (with all rights).
>
> Please find the attchement for reference.
>
> Kindly help me in this.
>
>
> Thanks,
> Venkat.
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to