Recent Changes - Search:

PmWiki

pmwiki.org

edit SideBar

CommandPromptHere

Here is a Ruby version of "Command Prompt Here" that works on files and directories including UNC paths. Once it's properly set up, there will be a "Command Prompt Here" in the "Send To" menu of Windows Explorer. Using it on a directory will open a command prompt with the current directory set to that directory. Using it on a file will open a command prompt with the current directory set to the directory that file is in. If the file or directory is referenced by a UNC path, that path will be mapped to the P: drive and a command prompt will be opened to that location. When the command prompt is closed by typing "exit", the P: drive will be unmapped.

  1. Install Ruby if you haven't already.
  2. Create a C:\command directory
  3. Add it to your path
  4. Download Command Prompt Here and put the files in C:\command (the batch file provided is the same as the batch file provided on the Setting Up A Windows Machine page).
  5. Open the C:\Documents and Settings\YourProfile\SendTo\ directory
  6. Create a new shortcut with a target of "C:\command\relaunch.bat" and the name "Command Prompt Here".
Edit - History - Print - Recent Changes - Search
Page last modified on May 24, 2007, at 08:49 PM