30 Jul
To see the results of the command, he should open up a command prompt first by typing CMD at run and then followed by the ipconfig command. I don’t want to laugh at him or what but shouldn’t he be experienced enough to know that? There are many other command line tools such as nbtstat, ipconfig, ping, net, netstat, rasdial, tracert and etc that must be run in command prompt to see the results.
This may be troublesome for power users or programmers who frequently need to access console programs. To solve this problem, we can embed a command prompt into explorer itself.
Comamnd Prompt Explorer Bar is a small tool that extends Windows Explorer. Next time you need to run a program without GUI, just start the command prompt within explorer. Its current directory will be exactly the same as the current path you are browsing. And better yet the console will appear inside your explorer window – like any other explorer bar does – ‘History’, ‘Favorites’, ‘Folders’ etc. Now you can have the best of both worlds combined together – easy and fast navigation of explorer and power of batch processing of the command prompt.

At the left of the console window, there is a toolbar with some nice timesaving features. The most powerful is a button with a ‘Script’ icon on it. It has a drop down menu where you can select a command you like to be executed. It even knows how to substitute ‘{0}’ for the name of the current files selected in explorer. Here is when it can be useful. Let’s say you want to install your assembly into a ‘Native Images Cache’. With Command Bar it is as simply as selecting your assembly in explorer and clicking on ‘ngen {1}’ menu item. It also works just fine for multiple selected files (use {0} instead). Now you can compile your .cs or .vbs files without leaving a comfortable explorer shell. And yes, you can change this menu and scripts the way you like them. It is as simple as editing a text file in a Notepad.
There are two ways to start or hide the command prompt in Windows explorer. You can either go to View > Explorer Bar > and select Command Prompt, or just use the shortcut key CTRL+M.

I think Command Prompt Explorer Bar is one of the best power tool I found this year. It doesn’t even require to run an extra process to take up any memory usage for this feature and the best part is its FREE.
: Copying this article to your website is strictly NOT allowed. However, if you like this article, you can use the HTML code below to directly link to this article.
Deltree Command Replacement in Windows 2000 or Windows XP Tired of Typing Long File and Folder Names in DOS? Try This… How To Copy Text from Windows Error Message and Command Prompt Hide MP3 audio inside GIF picture 6 Must Have Replacement Tools when Fixing a Computer Infected by Virus Automatic Scan for Virus When Plug in USB Flash Drive Execute any File When Application Crashed or Stopped Running (Useful for SRCDS)
Have computer technical problems? Get FREE help from Raymond.CC FORUM
11 Responses for "Embed Command Prompt in Explorer to Easily Run Batch or DOS Tools"
im still studying now.. there is a guy in da class room which always show off.. but he know nothing
..always blur n all little mummy son
that for da command prompt explorer bar dude!
Tried it on Vista32 with no luck
“im still studying now.. there is a guy in da class room which always show off.. but he know nothing ..always blur n all little mummy son
that for da command prompt explorer bar dude!”
English, please?!?
This is quite an old tool last updated on June 2002. It wasn’t designed to use in Vista. Thanks for the report zebulon303.
Thanks Ray.. Its really nice …
dear Raymond **** THE BEST**** for several months I have been seeing your site every day and the one seems to me a good work that you help people like me without $$ can have expensive programs and you help us to mantain us pc\\\’s in optimal conditions I write to you here from my PC because always I power on appear two error messages tell me that find two news hardwares. the two new my two hardware are my disk drives dvd, s they are updated and working in optimum conditions but that is unconfortable and lost of time to have to tighten to cancel for continues the stat up! …. thanks for all along you occupy in your site and one thing that angry to me are the people who write to insult a person like your which what does she is to help people raymond U R THE BEST!!!! and i have problem with my account i don\\\’t know use the forum….because the problem of my account tell my how exterminated the error messages sorry for my eanglish!!!
good luck from puerto rico
gargolas
There is nice trick to keep console open if you call it from run dialog. Precede command with “cmd /k”. So
cmd /k ping localhost
Will ping and keep console open after that (with command prompt, not simply pause before exit). Combines two steps of launching console and then command in console.
Thanks Raymond. I use a registry tweak or CMDHere PowerToy to add “Open With Command Prompt” to context menu.
I use the Windows Powertoy \\\’Open command window here\\\’, a free MS download. Once installed it is available from the right click menu and like this one, opens with the directory you right click on or in as the active directory. Though it opens a separate Command window rather than opening it in Explorer, which I personally prefer. There is a version for all Windows except Vista.
But, in Vista the command is now built in to explorer. Just Shift Right Click on or in the required directory and the command appears in the right click menu. The only drawback is that, unlike the MS Powertoy for other versions, it only works if you right click in the right hand explorer pane and not also in the left hand pane. I.e. if you want to open a command window with the folder that is highlighted in the left hand pane as the active folder then Shift Right Click on an empty portion of that folder in the right hand pane making sure that nothing else is selected in the right hand pane. If you want the command window to open with the one of the directories listed in the right hand pane as the active directory, then either first select that directory and Shift Right Click or simply Shift Right Click directly on that directory.
thanks raymond & Jcym …
First time user…
I think it would be nice if Windows Explorer’s addressbar could also act like a command prompt.
Even when the dos window is not displayed..
Anyway, something odd happened when i accidently dragged an .mp3-file onto the dos window, it started executing a whole lot of stuff on the prompt. I had a hard time stopping this work of insanity until it suddenly started edit.exe where, by mouse, I managed to stop it from loading TONS (135MB!!!) of data …
Appeared to be a dos helpfile incorrectly parsed to the prompt instead of the screen and then there were this line starting with “Edit “…
How this bug happened to beging with is still a mystery, all I ever wanted was a filename on the prompt…
Greetings
Leave a reply