|
-
Mar 4th, 2001, 10:06 PM
#1
Thread Starter
New Member
I need the value of one of the NT system variables from under ASP (VB Script) ... does anyone know how to do this??
I know its a stupid thing to need to do but i have been asked
-
Mar 4th, 2001, 11:10 PM
#2
Thread Starter
New Member
I finally worked out how to do it.
set WshShell = CreateObject("WScript.Shell")
strWebTemp = "c:\webtemp"
getTempFilename = WshShell.ExpandEnvironmentStrings("%webtemp%")
set WshShell = nothing
Thanks anyway guys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|