But i need to call a System environment variable of name SRV on install path where is the framepkg.exe to install the agent because this variable contains the name of the nearest server for exemple: SRV = BRSPSVR98766, so we have no problems with network overhead.
Re: How to call Windows environment variable in VBScript Agent installation
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:
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!
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.
Community Help Hub
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.