Re: How do I change path in a command prompt?
- From: Darrellg@xxxxxxxxxxxxxxxxxxxx ("Darrell Gorter[MSFT]")
- Date: Tue, 12 Sep 2006 16:29:48 GMT
Hello Allen,
Open a CMD prompt.
From the c: run dir c:\pr* /sThis will give you the 8.3 name this system is seeing.
Then run cd program files
run dir *. /x
This will give you the 8.3 name for the support folder as well.
The 8.3 name is dependant on what other folders with similar names may
already exist when the new one is created.
running dir with the /x shows what the system thinks the 8.3 name is.
Thanks,
Darrell Gorter[MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
<Thread-Topic: How do I change path in a command prompt?
<thread-index: AcbWfK5GAEY0QvbHRJCXbpslF6MLwA==
<X-WBNR-Posting-Host: 195.147.141.73
<From: =?Utf-8?B?QWxhblRlcnJpbGw=?= <AlanTerrill@xxxxxxxxxxxxxxxxxxxxxxxxx>
<References: <F67AF8EB-B4E2-465E-A434-D9469CD3CD4E@xxxxxxxxxxxxx>
<uSFKcUl1GHA.480@xxxxxxxxxxxxxxxxxxxx>
<6B373A11-8D69-43BB-8C63-F4965A17C363@xxxxxxxxxxxxx>
<#PqUrXn1GHA.1288@xxxxxxxxxxxxxxxxxxxx>
<Subject: Re: How do I change path in a command prompt?
<Date: Tue, 12 Sep 2006 08:04:01 -0700
<Lines: 68
<Message-ID: <E36EE2E3-3A3F-4F55-B9AD-E73AEE98827F@xxxxxxxxxxxxx>
<MIME-Version: 1.0
<Content-Type: text/plain;
< charset="Utf-8"
<Content-Transfer-Encoding: 7bit
<X-Newsreader: Microsoft CDO for Windows 2000
<Content-Class: urn:content-classes:message
<Importance: normal
<Priority: normal
<X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
<Newsgroups: microsoft.public.windows.server.general
<Path: TK2MSFTNGXA01.phx.gbl
<Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.general:104823
<NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
<X-Tomcat-NG: microsoft.public.windows.server.general
<
<Yes I read this, but it doesn't help at all! What is the way of referring
to
<a path c:\program files\support tools\browstat.exe when in a dos session
that
<only allows 8 character names? I thought you took the first 6 letters and
<added~1 to the end, but this doesn't work. Which was why I asked.
<
<"Pegasus (MVP)" wrote:
<
<> 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.
<> > >
<> > >
<> > >
<>
<>
<>
<
.
- References:
- Re: How do I change path in a command prompt?
- From: Pegasus \(MVP\)
- Re: How do I change path in a command prompt?
- From: Pegasus \(MVP\)
- Re: How do I change path in a command prompt?
- From: AlanTerrill
- Re: How do I change path in a command prompt?
- Prev by Date: non-paged pool leak in spoolsv.exe
- Next by Date: Firewall setting for multiple FTP sites using multiple ports
- Previous by thread: Re: How do I change path in a command prompt?
- Next by thread: Re: How do I change path in a command prompt?
- Index(es):
Relevant Pages
|