Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: SV: RE: System/environment variables


Message #1 by =?iso-8859-1?Q?W=E6raas_Morten_=28ErgoGroup=29? <morten.waraas@p...> on Thu, 12 Dec 2002 12:47:26 +0100
Thanks, but things are still a bit confusing!

I've been browsing the msdn-site and are finding a lot of info.

I've managed to write a short wscript that echo's the environment variable I
need to a popup, but how do I incorporate this into my ASP-script? When do I
use .vbs, .wsf etc?

Can you or anyone else give me some more input and perhaps an example
ASP-script including wscript code?

I can't find the "tool" you mention.


Morten


-----Opprinnelig melding-----
Fra: TomMallard [mailto:mallard@s...]
Sendt: 11. desember 2002 15:54
Til: ASP Web HowTo
Emne: [asp_web_howto] RE: System/environment variables


Windows script host objects, has an environment object...

objWShell.environment(str)

str is Process, System, User, Volatile

Consider converting what you write into a wsh component to call from your
asp page as a better style that's more secure for web app's. There's a tool
for this with the scripting documentation available from msdn.microsoft.com.

tom mallard
seattle

-----Original Message-----
From: morten.waraas@p... [mailto:morten.waraas@p...]
Sent: Wednesday, December 11, 2002 12:30 PM
To: ASP Web HowTo
Subject: [asp_web_howto] System/environment variables


Hi!

How can I read system/environment variables in an ASP-script?


Morten




  Return to Index