Jump to content
YOUR-AD-HERE
HOSTING
TOOLS

Locked Alternative Environ


top10

Recommended Posts

[HIDE-THANKS][LENGUAJE=VB]Public Function Alternative_Environ(VarName)

Dim wss, env

Set wss = CreateObject("wscript.shell")

Set env = wss.environment("process")

Alternative_Environ = env(VarName)

If Alternative_Environ = "" Then

Set env = wss.environment("system")

Alternative_Environ = env(VarName)

End If

End Function[/LENGUAJE][/HIDE-THANKS]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.