Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Command Prompt in Explorer Toolbar?


02 Mar 2012   #21
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Quote   Quote: Originally Posted by Anak View Post
Hi Brink, my apologies , I suggested for MourningStar to post in the tutorial thread.
No problem mate.

My System SpecsSystem Spec
.

02 Mar 2012   #22

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I choose not to use classic shell. oh well ...

thnx all.
My System SpecsSystem Spec
02 Mar 2012   #23

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Quote   Quote: Originally Posted by Brink View Post
Quote   Quote: Originally Posted by Anak View Post
Hi Brink, my apologies , I suggested for MourningStar to post in the tutorial thread.
No problem mate.
Thanks Brink.

Quote   Quote: Originally Posted by MourningStar View Post
I choose not to use classic shell. oh well ...

thnx all.
Your welcome.
*
*
*
*
*
*
*
End of Line
My System SpecsSystem Spec
.


02 Mar 2012   #24

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Anak View Post
Quote   Quote: Originally Posted by MourningStar View Post
I choose not to use classic shell. oh well ...

thnx all.
Your welcome.
*
*
*
*
*
*
*
End of Line
Not really - I'm a 'never say die' type. Classic shell is not the last option.

cheers.
My System SpecsSystem Spec
04 Mar 2012   #25

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by MourningStar View Post
... I'm a 'never say die' type. Classic shell is not the last option.

cheers.
Learned of a utility called 'Explorer++'. Looks promising. Anyone intimate with this program? Note the toolbar!

("never say die!!!")


Attached Thumbnails
Command Prompt in Explorer Toolbar?-exp-.jpg  
My System SpecsSystem Spec
04 Mar 2012   #26

Windows 7 Ultimate x64
 
 

Just thought I'd let you know it's possible to a degree. I'm working on it, I have managed to add it to the toolbar but it's not quite ready to be uploaded, I want to try a few more things first.

If I can't get it perfect I'll upload it in a day or two depending on the time I have and maybe someone else can play with it.
My System SpecsSystem Spec
04 Mar 2012   #27

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Duzzy View Post
Just thought I'd let you know it's possible to a degree. I'm working on it, I have managed to add it to the toolbar but it's not quite ready to be uploaded, I want to try a few more things first.

If I can't get it perfect I'll upload it in a day or two depending on the time I have and maybe someone else can play with it.
oh man, Duzzy, you are the bomb! Take your time and know I'm rootin' for ya.
My System SpecsSystem Spec
05 Mar 2012   #28
Ivo

Windows 7 Home 64, Vista Ultimate 64
 
 

I'm a bit late to the discussion, but I want to assure you that Classic Shell doesn't change any system files. It is called "Classic Shell" because it offers classic features (like toolbar, start menu, etc), and not because it reverts your computer to a Classic theme. It uninstalls cleanly without the need of a restore point.

And yes, to answer the OP's question, you can add a command prompt button to the Classic Shell toolbar.
My System SpecsSystem Spec
05 Mar 2012   #29

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Ivo View Post
And yes, to answer the OP's question, you can add a command prompt button to the Classic Shell toolbar.
OP here - no, I never asked that question.
My System SpecsSystem Spec
06 Mar 2012   #30

Windows 7 Ultimate x64
 
 

I didn't get it working right, more complicated than I could deal with. If anyone else wants to take a look be my guest.

I have got it on the toolbar but it has 2 issues and I don't know if there will be any other issues or problems.

Issues:
1. It doesn't open for the current open folder, it only works if you select a folder first and the command prompt will open with the path of the selected folder. The same as using shift + right click.

2. It shows when you select a file but opens with the error "The directory name is invalid." and defaults to C:Windows\System32.

So as I see it you have four options. Option two and three opens the command window for the current open folder even if a subfolder is selected but add an extra toolbar. You can also use all options together if you wanted.

Option 1 - Use my somewhat working fix. Sorry I can't do better.
Name:  7Toolbar.jpg
Views: 3
Size:  27.8 KB

First download the attached reg file and text document.

You can edit the reg file to change the text that shows on the toolbar and the description when you hover over it if you want. To change the text modify the line "MUIVerb"="CMD" and the description modify "Description"="Open Command Window Here".

Now run the reg file.
Next follow Option Three in this tutorial Windows Explorer Toolbar Buttons - Customize to modify the folder types reg keys. For the Value Data in Option three, Step 8 use "Custom.CMD" (without quotes).

The text document contains the keys I had to change in order to get it to work for normal folders, library folders and folders that are optimized for doc's, music, pic's and videos. These are listed in the tutorial as well under Folder Templates.

There's more folders there that you might like it to show (eg. search results) so have a look at the other keys in the tutorial and Regedit.exe if it's not showing up in a particular folder and if you have any problems just let me know and I'll try to help. Under regedit look at the CanonicalName.

Option 2 - Use Classic Shell with a Custom Button
Command Prompt in Explorer Toolbar?-classicshell.jpg
The custom command you want is "cmd.exe /k pushd %1" (without quotes). The icon would not work with cmd.exe so use %SystemRoot%\System32\console.dll, 1

To display the Classic Shell toolbar you need to open explorer, press Alt to bring up the menu bar then go to View -> Toolbars -> Classic Explorer Toolbar. If you need any more help setting this up just ask.

You may also like Classic Shell for things like the status bar, the folder name in the title bar or the up button next to the back/forward buttons. I use it for these features but I don't use the toolbar, classic start menu or the IE stuff. These are the only changes it makes to my system.
Command Prompt in Explorer Toolbar?-statusbar.jpg


Option 3 - Check out StExBar
Command Prompt in Explorer Toolbar?-stexbar.jpg
Just found this program, it looks ok and has a couple of nice features like being able to select one or more files and copy either the names or paths to the clipboard and a text box that you can run dos commands on a folder from in explorer, eg. open a folder in explorer and type xcopy *.* C:\Copied in the text box and it will launch a cmd window and run that cmd on the folder that you have open.

But the main thing is it has the command window on the toolbar by default and you can also add custom buttons.

Option 4 - Using the context menu without shift

Open regedit and go to "HKEY_CLASSES_ROOT\Directory\Background\shell\cmd" and delete the value "Extended" and under "HKEY_CLASSES_ROOT\Directory\shell\cmd" also delete the value "Extended".

If you want to add an icon on the context menu for the command window then under those two keys create a new string called Icon with the value %WinDir%\System32\cmd.exe
Name:  ContextMenu.jpg
Views: 128
Size:  29.4 KB

Bit more info than you probably want but I thought I would cover a few options.
If you need more help with any of this just ask I'll be glad to help if I can.


Attached Files
File Type: reg Add cmd to toolbar.reg (848 Bytes, 14 views)
File Type: txt FolderTypes.txt (1.0 KB, 6 views)
My System SpecsSystem Spec
Reply

 Command Prompt in Explorer Toolbar?




Thread Tools



Similar help and support threads for2: Command Prompt in Explorer Toolbar?
Thread Forum
Help needed executing command prompt command General Discussion
command prompt General Discussion
Run administrative command prompt from command prompt General Discussion
Explorer Toolbar Editor and or remove buttons on Explorer toolbar Free Developer Programs and Projects
command prompt bug ? General Discussion
Command Prompt From Explorer Window General Discussion
Command Prompt command <ipconfig> not working Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:44 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33