Eric said:
How can you change the command prompt so that it starts in the C:\> directory instead of the C:>\documents and settings\currentuser\ directory? This seems to be preventing me from running shell commands from other applications.
Hi
From a previous post:
Message-ID: <
[email protected]>
From: (e-mail address removed) ("Eric Shen [MSFT]")
Subject: RE: MS03-045 changing environment variables
<quote>
Hi Paul,
In order to customize the startup directory of Windows 2000, as you
noticed, we can use the HOMEPATH variable. You can change it to \ so
command prompt will start under C:\. (C is the partition you installed
Windows 2000 on). To do this, please try:
1. Open "System" from the Control Panel.
2. Click "Advanced"->"Environment Variables".
3. Under "User variables for <user>",
- if there is an entry for HOMEPATH, please change it to "/" (without
quotation marks).
- if there is no entry for HOMEPATH, please create a new one with "/"
(without quotation marks).
Then command prompt will start under C:\. Please let me know if this solves
this issue or if you need further assistance.
I look forward to hearing from you.
Regards,
Eric Shen
Product Support Services
Microsoft Corporation
</quote>