Re: Environment Variables - How to
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 06/25/04
- Previous message: Shawn Johnson: "Winfax on Server"
- In reply to: Sarah Tanembaum: "Environment Variables - How to"
- Next in thread: Sarah Tanembaum: "Re: Environment Variables - How to"
- Reply: Sarah Tanembaum: "Re: Environment Variables - How to"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Jun 2004 21:53:37 +0200
Sarah Tanembaum wrote:
> I'm wondering if there are such a command line/console version of setting
> the environment variables.
Hi
You can e.g use setx.exe for this.
For WinXP yo it is included as a utility in the support tools installation
package (on your WinXP CD) installed by suptools.msi.
It is also in the free part of Win2000 Resource Kit:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp
I would think you can use either version on either OS version.
When adding or removing components from the _path_ from the command line,
I suggest using Pathman.exe (Path Manager).
Pathman.exe can be downloaded from here:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/pathman-o.asp
It will e.g. handle repeated entries.
Pathman.exe is also in the Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en
(The kit will install on WinXP or later)
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/community/scriptcenter/default.mspx
- Previous message: Shawn Johnson: "Winfax on Server"
- In reply to: Sarah Tanembaum: "Environment Variables - How to"
- Next in thread: Sarah Tanembaum: "Re: Environment Variables - How to"
- Reply: Sarah Tanembaum: "Re: Environment Variables - How to"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|