Re: MS-DOS Shell - help needed to start in a specific directory

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

From: techno (out.there_at_somewhere.com)
Date: 06/20/04

  • Next message: techno: "Re: "Missing" CD drives"
    Date: Sun, 20 Jun 2004 15:48:28 -0400
    
    

    On Sun, 20 Jun 2004 11:58:20 -0600, Rob Stow <rob.stow@sasktel.net>
    wrote:

    >techno wrote:
    >
    >> How do you start your MS-DOS Shell in the folder (directory) that I
    >> have my Windows Explorer currently pointing at. Is their a MS-DOS
    >> variable that can pass that info from Windows.
    >>
    >> The properties are at
    >>
    >> MS-DOS Prompt Properties\Program\Working
    >>
    >> or can a batch file move me to this directory?
    >>
    >> Yes, I'm using Windows 2000. Any help will be much appreciated.
    >
    >Start Explorer.
    >Go to Tools|Folder Options|File Types.
    >Scroll through the list until you find "File Folder".
    >
    >While File Folder is highlighted, click on the Advanced Button.
    >
    >On the dialog that opens, click "New".
    >
    >Give it a name like "Command Prompt Here".
    >
    >For the command, use
    > cmd.exe /f:on /k:"cd /d "%1""
    >
    >
    >To use this, right click on a folder's icon in Explorer
    >and select your newly created command.
    >
    >To understand how the command works, go to a command
    >prompt and type "cmd /? |more"

    Rob,

    You really made my day. Works perfectly.


  • Next message: techno: "Re: "Missing" CD drives"
  • Quantcast