Dos shortcut messed up

  • Thread starter Thread starter Brent
  • Start date Start date
B

Brent

I have recently installed all my win 2000 updates due to
recent security issues. In doing so, somewhere along the
line, my c:\ Dos prompt Shortcut got turned into
C:Documents and Settings\Administrator Why is this and how
do I fix it? Any help would be greatly appreciated. Thanks
 
Brent said:
I have recently installed all my win 2000 updates due to
recent security issues. In doing so, somewhere along the
line, my c:\ Dos prompt Shortcut got turned into
C:Documents and Settings\Administrator Why is this and how
do I fix it? Any help would be greatly appreciated. Thanks

Hi

One of the security updates released last year is to blame (MS03-045/KB824141
I think). But you can change it back, 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>
 
In said:
I have recently installed all my win 2000 updates due to
recent security issues. In doing so, somewhere along the
line, my c:\ Dos prompt Shortcut got turned into
C:Documents and Settings\Administrator Why is this and how
do I fix it? Any help would be greatly appreciated. Thanks

Since this is a shortcut, just change the "Start in:" location to c:\
Simplest.
 
Where is this "Start in" you mention? What we are doing is Start | Run | cmd | OK.
 
Mark V was refering to the 'Start in' property of a
desktop )or other) shortcut that opens the 'Command
Prompt".

You are refering to the Start/Run dialog, which is very
different. In that case, try ...

Start | Run | cmd /k cd c:\ | OK

Tom Lavedas
===========
 
In said:
Mark V was refering to the 'Start in' property of a
desktop )or other) shortcut that opens the 'Command
Prompt".

Wonder why I would do that when the OP's Subject: was
"Dos shortcut messed up."
Seems it is not a shortcut, eh?
You are refering to the Start/Run dialog, which is very
different. In that case, try ...

Start | Run | cmd /k cd c:\ | OK

Indeed.

For this case (RUN..., cmd.exe ...) I prefer to use the Autorun
registry value for "Command Processor" rather than altering the
HOMEPATH as Torgeir suggests.
 
Back
Top