Is it possible to get an environment variable of the windows client (for example %systemroot%) using Thinclient without redirecting the output under windows and then opening and reading the output file under linux (our host operating system) ?
Is it possible to get an environment variable of the windows client (for example %systemroot%) using Thinclient without redirecting the output under windows and then opening and reading the output file under linux (our host operating system) ?
Is it possible to get an environment variable of the windows client (for example %systemroot%) using Thinclient without redirecting the output under windows and then opening and reading the output file under linux (our host operating system) ?
There are a few exceptions, but I believe you are correct. For most things, you would have to use a client-side command like "set >vars.txt" then use C$COPY to get the file to your server and then read it.
The exceptions: A couple of values in the ACCEPT FROM structures come from the workstation environment variables:
CLIENT-MACHINE-NAME and CLIENT-USER-NAME from TERMINAL-INFO structure.
USER-ID and STATION-ID from SYSTEM-INFORMATION.
Finally, when using @[DISPLAY]: there are a few pre-defined system paths you can use - see the Acuconnect manual, subsection on copying files between the client and the server.
| <APPDATA> | C:\\Documents and Settings\\<user>\\Application Data |
| <COMMON_APPDATA> | C:\\Documents and Settings\\All Users\\Application Data |
| <COMMON_DOCUMENTS> | C:\\Documents and Settings\\All Users\\Documents |
| <DESKTOP> | C:\\Documents and Settings\\<user>\\Desktop |
| <LOCAL_APPDATA> | C:\\Documents and Settings\\<user>\\Local Settings\\Application Data |
| <MYDOCUMENTS> | C:\\Documents and Settings\\<user>\\My Documents |
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.