Re: Command prompt - change default?

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



Keep having fun, Pete. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:1156088008.647211.259200@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
Pete L <peterlavington@xxxxxxxxxxx> hunted and pecked:
Works fine now - many thanks again for your help, Wes!
Wesley Vogel wrote:
If \MinGW is valid.

Try this...

Right click the Desktop | New | Shortcut |
Paste this in the location box:

%SystemRoot%\system32\cmd.exe

Click Next | Click Finish |

Right click the new cmd.exe shortcut | Properties |
In the Start in box replace %windir% with \MinGW |
Click Apply | Click OK

You can also change the Start in for the cmd shortcut located under
Accessories on the Start Menu.

Right click the cmd shortcut | Properties | Type: \MinGW in the
Start in box

HOW TO: Set the Command Processor Appearance in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;309019

Set the Command prompt default path to a certain directory
http://windowsxp.mvps.org/autoruncmd.htm


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:1156023329.286003.258290@xxxxxxxxxxxxxxxxxxxxxxxxxxx,
Pete L <peterlavington@xxxxxxxxxxx> hunted and pecked:
I'm sure it's simple but I have had a real good look through web sites
to find the answer before I try this route......

When I open a command prompt window the line defaults to directory
"\Documents and Settings\Peter" I don't want this directory and I would
like it to default to a directory called \MinGW whenever I open a
command prompt window so I can run some C++ programs.

How do I do this please??
.



Relevant Pages

  • Re: Safely Remove hardware icon missing
    ... MS-MVP Windows Shell/User ... Pete hunted and pecked: ... and you cannot unplug or eject your device using Safe ... cutomized notifications and selected 'always show' but it still does not ...
    (microsoft.public.windowsxp.general)
  • Re: Cant find message
    ... Thanks Wes...thats real useful info. ... Damn it I found the original message ... > MS-MVP Windows Shell/User ... Pete ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Startp Sequence
    ... Okie dokie. ... MS-MVP Windows Shell/User ... Pete hunted and pecked: ... Is there a way to set the sequence in which startup programs load? ...
    (microsoft.public.windowsxp.basics)
  • Re: Cant find message
    ... To find messages in a newsgroup ... Wes ... MS-MVP Windows Shell/User ... Pete hunted and pecked: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: SYSTEM FILE CHECKER
    ... This is the Command Prompt, you can also start the Command Prompt by START> ... William Crawford ... MS-MVP Windows Shell/User ... to "c:\windows\system32" folder. ...
    (microsoft.public.windowsxp.help_and_support)