Click here to Skip to main content
Click here to Skip to main content

Command Prompt Explorer Bar

By , 10 Jun 2002
 

Introduction

The Command Prompt Explorer Bar is a small tool that extends Windows Explorer.

Version 1.1 is now available.

Ever tried to run one of those console programs ("Hello World!" to name a few), .BAT, .VBS or .JS scripts just to see black window popping up and disappearing? I did. Especially after I started using .Net framework I find myself doing this more often. No wonder - with all this ALs , NGENs and TLBIMPs. So if you are like me then this tool is right for you. Next time you need to run a program without GUI, just press the 'Ctrl+M' key combination in your explorer. A command prompt will start and appear automatically. 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. Or should I say Command Prompt Explorer Bar:

Well, that is how it looks like. Isn't it a beauty?

You may have noticed a toolbar on the left of the console window. I tried to put some nice timesaving features there. 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.

And here is another (besides pressing 'Ctrl+M') way of starting this tool:

I hope you'll enjoy this little tool. Send me your comments, requests and bug reports to PavelZolnikov@yahoo.com.

History

  • 5/31/2002, 1.0 - original version.
  • 6/11/2002, 1.1 - bug fixes. NOTE: if you were using version 1.0 and have customized macro.xml file, you might want to save its backup version somewhere before uninstalling.
    • New setup. Hopefully without issues like in previous version. Thanks to Michael Dunn for his tip.
    • Fixed an issue with CMD.EXE failing to start. CreateProcess interception is now scoped by instances of Folder Windows and enabled only if CommandBar is visible. 'Launch folder windows in a separate process’ is no more required.
    • Integrated keyboard focus with explorer. Now Command Prompt window is reachable through Tab and Shift+Tab keys.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Pavel Zolnikov
Web Developer
United States United States
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionWindows 7 buildmemberfparrish15 Nov '12 - 11:05 
I got a hold of the project files and rebuilt the utility and its setup program in Windows 7. After successfully installing the msi, I saw no sign of the command bar utility. I suspect that there are issues related with Windows 7. If anyone would be interested in troubleshooting this great utility on Windows 7, email me at prime@endorph.com and I will send you the modified project files.
GeneralMy vote of 5memberim_chc17 May '12 - 21:23 
good tool
Questioncrashmemberello_cc19 Feb '12 - 16:36 
when i close the window ,explorer crash!
i use xp 32
Questionnot working on Win 7memberWrangly4 Jul '11 - 20:48 
Doesn't work for me on Win 7 - 64 bits Frown | :( !! it's a pitty, seems to be a very nice/powerfull tool, can you fix it ? (have used the setup)
 
tkx,
Domi.
GeneralError on windows 7memberaldo hexosa4 Oct '10 - 21:00 
The Installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The error code 2869.
I got this error when installing on win 7. Please help
AnswerRe: Error on windows 7memberCédric Bourgeois28 Feb '11 - 7:23 
Hi,
 
I could work around this issue by using the "Troubleshoot compatibility" feature (right-click on the msi, 4th entry, then run the installer from the wizard).
 
Unfortunately, the behavior afterwards is not as expected: instead of the command line pane, a blank pane appears and the command line is displayed as a standalone window and minimized. Frown | :(
 
Right now googling for more info about this...
 
Ced.
GeneralNow thats nice ...memberstixoffire26 Feb '10 - 6:39 
I like the tool. I will be doing my best to run it- as it looks like life made easier.
QuestionNot working on Vista 64 but??memberingoklemm4 Oct '09 - 0:36 
Installation seems succesful.
 
But:
* STRG + M : Nothing
* Can't find it in Context-Menu.
 

Any Advice? Thanxs!
GeneralWorks well with QT Tab bar too!memberim_chc20 Sep '09 - 15:04 
http://qttabbar.wikidot.com/[^]
GeneralWindows 7memberneuwirthe26 Aug '09 - 21:45 
It does not install in Windows 7. Are there any plans to adapt it?
GeneralJust a size glitchmembergabrielmaldi4 Apr '09 - 4:35 
The console window doesn't get all the width of the explorer window, it looks as if it is missing the size of a scrollbar all the way to the right:
http://img3.imagebanana.com/view/uqgf7bew/commandpromptexplorerbarglitch.JPG[^]
GeneralPerfect idea!membermichaelogical9 Mar '09 - 9:59 
Great to be able to start a prompt in the current window. Make's life easy. Thanks!
GeneralWin XP SP3 x86 edition on 64 Bit Hardware - Crashes Explorermembergutharius9 Jan '09 - 17:26 
in the dos prompt I typed:
 
echo hello > hello.txt
 
the window and the dos prompt were set to C:\
 
when I double clicked the hello.txt in the window explorer crashed. Looks like this program needs some updates...
 
Really awesome program! Even if it is showing it's age... Big Grin | :-D
GeneralWorks in IE but not Explorer when installing on Windows XP 64-bitmemberpashleb8 Jan '09 - 0:26 
Please can you help me. I have installed the app on the Windows XP 64-bit and can only seem to activate it when using IE as my explorer. When I only explorer I have no option under View - Explorer Bar or by clicking Control-M.
 
I would love to use this so any help would be much appreciated!
 
Thanks,
 
Ben
GeneralRe: Works in IE but not Explorer when installing on Windows XP 64-bitmemberRuss McMackin19 Feb '09 - 8:33 
I'm having the same problem and would also love to get this working.
GeneralXP x64 problem.memberoleg632 Oct '08 - 9:57 
I've tried to install it on XP x64, but it's not working.
How can I fix that?
QuestionWhat a nice and nicer idea!!!!memberrahulja10 Sep '08 - 2:59 
I would like to thank you for this kind of new utility.
Greate work and keep it up!!!
QuestionVista Installation Issues - Error Code 2869 and Error 1304: Error writing to file zcommon.dllmemberpicardo29 Aug '08 - 10:21 
I tried installing this both from the installer and from the commandline. Installer gives me Error 2869 and commandline gives the other one, 1304.
 
Any ideas how to solve this?
 

btw, the source files above are very unhelpful. I had to find the the msi file somewhere else after a Google search.
AnswerRe: Vista Installation Issues - Error Code 2869 and Error 1304: Error writing to file zcommon.dllmemberMember 411838826 Oct '08 - 3:50 
You need to install it as admin:
 
Create a batch file e.g. install.bat with this content:
msiexec /i <path to msipackage>
 
Then rigth-click the install.bat and select Run as administrator
 
Hope this help, Jesper
QuestionControlling Sidebar from BHOmemberAlex Shneyder9 Oct '07 - 17:24 
I have figured out how to show and hide sidebar from BHO using ShowBrowserBar call. Does anyone knows how to update the url in the sidebar from the BHO?
QuestionHow to display Explorer Barmembervikrant kpr7 Sep '07 - 10:50 
Hi Friends
 
after installing the explorer bar , is it possible that the bar is displayed withouut going to view - > explorer bar?

Regards
AnswerRe: How to display Explorer Barmembertoonen2617 Oct '07 - 11:29 
Press Control-M to toggle it Smile | :)
GeneralNeed drag and dropmembersinbao18 Jul '07 - 19:05 
Hi,
I noticed it does not support "drag and drop" like real command window, it would be good if you can add this feature~~
GeneralCauses WinMerge to fail.memberUKCodeMonkey16 Jul '07 - 23:25 
With Command Prompt Explorer Bar installed, I found I couldn't start WinMerge. WinMerge would crash on startup until Command Prompt Explorer Bar is uninstalled. Not sure how Command Prompt Explorer Bar causes this or whether this is a problem with Command Prompt Explorer Bar or WinMerge but thought it best to report the problem I encountered.
 
Never argue with an imbecile; they bring you down to their level, and beat you with experience.

GeneralBest Power toy ever!memberkerneljag23 Jan '07 - 18:38 
It's a brilliant tool for people don't like having a gazillion windows open and the integration between the command prompt and the main window is a god sent!
 
Thanks so much Pavel! Smile | :)

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 11 Jun 2002
Article Copyright 2002 by Pavel Zolnikov
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid