Tech Support > Operating Systems > c: Dos shortcut Changed
c: Dos shortcut Changed
Posted by on February 16th, 2004


I have recently updated all my windows updates due to
recent security issues. Now when I go to my Dos shortcut
instead of c:/ it is cocuments and
Settings\Administrator why did this happen and how do I
fix it? Any help would be appreciated. Thanks

Posted by Art Sheppard on February 16th, 2004


Right Click on your DOS Shortcut and select Properties from the
drop down list. Then change the "Start In" box back to C:\; then
click apply and OK. This should start your DOS session in C:\.
Hope this helps. O=:-)
/Art Sheppard

anonymous@discussions.microsoft.com wrote:


Posted by George Hester on February 16th, 2004


Mine does the same thing and I m not using the shortcut. I do Start | Run | cmd | OK and I go to the same folder. How to fix this?

--
George Hester
__________________________________
"Art Sheppard" <artshepNOSPAM@nvbell.net> wrote in message news:4030FC88.F6E47769@nvbell.net...

Posted by Torgeir Bakken (MVP) on February 16th, 2004


anonymous@discussions.microsoft.com wrote:

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: <9KyOELYrDHA.2088@cpmsftngxa06.phx.gbl>
From: ericshen@online.microsoft.com ("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>


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter



Posted by Robert Aldwinckle on February 17th, 2004


Right-click Properties your shortcut to cmd.exe

I see %HOMEDRIVE%%HOMEPATH% in there.
Try something else? Or redefine %HOMEPATH%?


BTW this is off-topic for this newsgroup.
Try a newsgroup which specializes in your OS.


---


"George Hester" <hesterloli@hotmail.com> wrote in message
news:uLkTKtM9DHA.1672@TK2MSFTNGP12.phx.gbl...
Mine does the same thing and I m not using the shortcut. I do Start | Run | cmd | OK and I go to the same folder. How to fix this?

--
George Hester
__________________________________
"Art Sheppard" <artshepNOSPAM@nvbell.net> wrote in message news:4030FC88.F6E47769@nvbell.net...



Posted by George Hester on February 17th, 2004


"Start | Run | cmd | OK" is not a shortcut. Thanks though all done. I saw that in somebody else's post and I'n sure that will work. Just don't want to change an Environment variable for this issue.

--
George Hester
__________________________________
"Robert Aldwinckle" <robald@techemail.com> wrote in message news:Oy3ynFQ9DHA.1672@TK2MSFTNGP12.phx.gbl...


Similar Posts