Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling another script that is encrypted?

Status
Not open for further replies.
Sep 6, 2000
183
Is it possible to call one script fro inside another, and then pass variables?

I want to utilise the run as command to deply some software from our vbs login script. I was thinking that I could put the admin username and password in a different script and then encrypt it to hide the info. The main script could then call the sub script.

If this fesable?

Chris Styles

NT4/2000 MCSE
 
Take a look at the WScript.Arguments collection

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
That allows me to get arguments from the inital command does it not?

I need to get it from an encrypted vbe file so that the password does not appear in clear text.

I am aware that a user copy the relevent parts of the script and alter to include a messagebox that pops up the password, but this is just a starting point.

Unless anyone else has a better idea.



Chris Styles

NT4/2000 MCSE
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top