Hello, does anybody know, how to set Global-Variables for a Windows-System? I would like to set variabels in the login-script and use them in a Word-Document. PS: "set bla=foo" works only for the current shell/cmd.exe, not global matze
Matthias Spork wrote:> Hello, > > does anybody know, how to set Global-Variables for a Windows-System? > > I would like to set variabels in the login-script and use them in a > Word-Document. > > PS: "set bla=foo" works only for the current shell/cmd.exe, not global > > matzeWhat you are looking for is the setx program. http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp If you install this on the client machines and call it from login scripts it will do exactly what you describe. I have used it before to great effect (and if I recall correctly, it works under xp as well). Later, -J -- J. Simmons Network Administrator VPT, Inc. jsimmons@vpt-inc.com 540.552.5000x11
You can also do it with registry settings. You can use the regedit command to export the settings and then use a script to merge. Jim C.> Hello, > > does anybody know, how to set Global-Variables for a Windows-System? > > I would like to set variabels in the login-script and use them in a > Word-Document. > > PS: "set bla=foo" works only for the current shell/cmd.exe, not global > > matze-- ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings@hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings@njs.netlab.cz | -----------------------------------------------------------------