I'm not 100% sure what you're asking, but it sounds like you want to simply identify the current server name from an environment variable. Depending on where you going to declare the variables you can either create your own Wscript object or use an existing one in the code. But basically this is what you need to call an environment variable:
myobj = wscript.createobject("wscript.shell")
srv_name = myobj.expandenvironmentstrings("%COMPUTERNAME%")
You may want to go to VBScript forums for additional assistance.
Hello jenkinski Thank you for reply,
Yes, we have several offices and each office has a server, instead of downloading the frampkg.exe of the NETLOGON would like to seek this local server that is declared in the variable SRV of windows, how i can I point the path variable to \\SRV ? Could you please include these lines in the script attached? Thank you!