How to best set up the path.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I downloaded some text processing utilities and installed them. They are
run at the command prompt only and want to set up my system so that when I go
to the command prompt and type in the name of a utility to run on a file it
will automatically know where to find them.

Otherwise, I have to type in the name of the utility and preface it with the
full path of where it resides.

What is the best way to do this? Keep in mind that all of these utilities
were installed in one directory. Thanks!
 
Windows Key + Pause key | Advanced tab | Environment Variables button |
Highlight PATH under System variables | Edit button

Add a semi colon ; at the end of what's there, add your path and OK your
way out.

Or...

Start | Run | Type: control Sysdm.cpl,System,3 | Click OK |
Environment Variables button | Highlight PATH under System variables | Edit
button

Then open a command prompt, type PATH and hit Enter to see.

Will be similar to this...
-------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
C:\Program Files\Intel\DMIX

C:\>
-------------

HOW TO Manage Environment Variables in Windows XP
http://support.microsoft.com/kb/310519

Setting environment variables
http://www.microsoft.com/resources/...all/proddocs/en-us/environment_variables.mspx

To add or change the values of environment variables
http://www.microsoft.com/resources/...dm_advancd_environmnt_addchange_variable.mspx

Understanding environment variable precedence in Windows XP
http://techrepublic.com.com/5100-10590_11-5630303.html

Environment Variables in Windows XP
http://vlaurie.com/computers2/Articles/environment.htm

Default environment variables under windows
http://www.adp-gmbh.ch/win/misc/environment_variables.html

Environment Variable Processing Order in Windows 2000
http://support.microsoft.com/kb/185652

Environment Variables
http://www.wilsonmar.com/1envvars.htm

Environment Variables in Windows NT
http://support.microsoft.com/kb/100843

How to propagate environment variables to the system
http://support.microsoft.com/kb/104011

Managing NT Environment Variables
http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=5379


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top