Re: How do I change path in a command prompt?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



This was the third item on my list. Since you post in the
Server group, I assume that you are a system administrator
and that you are fully aware that %path% is an
environmental variable. Here is what Help says:
======================
Setting environment variablesEnvironment variables are strings that contain
information such as drive, path, or file name. They control the behavior of
various programs. For example, the TEMP environment variable specifies the
location in which programs place temporary files.

Any user can add, modify, or remove a user environment variable. However,
only an administrator can add, modify, or remove a system environment
variable.

Using System in Control Panel, you can customize the following variables:

User environment variables for logged_on_user_name
The user environment variables are different for each user of a particular
computer. The variables include any that are set by the user, as well as any
variables defined by programs, such as the path to the location of the
program files.

System environment variables
Administrators can change or add environment variables that apply to the
system, and thus to all system users. During installation, Windows Setup
configures the default system variables, such as the path to the Windows
files.


"AlanTerrill" <AlanTerrill@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6B373A11-8D69-43BB-8C63-F4965A17C363@xxxxxxxxxxxxxxxx
I can't find any reference to it there! I get 50 different subjects for
environment -I've read all those that look likely such as command-line
references and command shell overview but I can't find anyhting relating
to
changing the path.

"Pegasus (MVP)" wrote:


"AlanTerrill" <AlanTerrill@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F67AF8EB-B4E2-465E-A434-D9469CD3CD4E@xxxxxxxxxxxxxxxx
I'm trying to run the utility browstat which is in c:\program
files\support
tools. If I open a command prompt and type 'browstat status' it
doesn't
find
the program. I assume I need to change the path - I tried
cd\progra~1\suppor~1 but it says it cannot find the path specified.
What
is
the correct syntax please?

Click Start / Help, then search for "Environment" to see how
to change such variables.





.



Relevant Pages

  • Re: Lock down user environment variables on PC
    ... an application can do whatever it wants with user environment variables. ... Thing is, when Alice runs an application, it runs in her user context. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: How do I change path in a command prompt?
    ... I assume that you are a system administrator ... The user environment variables are different for each user of a particular ... references and command shell overview but I can't find anyhting relating ...
    (microsoft.public.windows.server.general)
  • Setting User Environment Variables
    ... I would like to modify user environment variables by editing the ... private static extern int SendMessageTimeout( ...
    (microsoft.public.vc.language)
  • Re: How do I change path in a command prompt?
    ... it for just the current Command Prompt, ... Using System in Control Panel, ... User environment variables for logged_on_user_name ...
    (microsoft.public.windows.server.general)
  • Re: Changing system environment variables to a temp folder
    ... I am not sure you can do what you are suggesting but this suggestion ... > environment variables had changed from the administrator folder inside ... > documents and setting folder to the temp folder in the same documents ...
    (microsoft.public.windowsxp.help_and_support)