|
Answer» Hi Viewer,
Is it possible to SET environment for a user who logs in to the system USING a telnet connection? I mean I want to set some environment variables for the user as per the login name. Is it possible to do that in DOS / Windows when a telnet connection is established?
Thanks, Ravi. You'll find the file which runs when telent occuring,and of course you can CHANGE the codes inside: Code: [Select]type "%windir%\system32\*.CMD"
Setting an environment?
There're some ways: 1. It seems as if you'll set the registry by launching reg.exe or regedit.exe,but it won't work unless you have restarted the computer. 2. wmic.exe 3.to use vbscript or javascript.
|