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: Open Command Window Here as Administrator

05 Feb 2017   #30
appyface

Win7 Pro SP1 64-bit
 
 

Perhaps someone out there knows to modify the .bat file I gave, to open elevated CMD prompt instead of normal one. I hope they find this thread and tell us :-)

How do you get a 'background' to right-click on when the file pane is completely full? The only way I can get a context menu with Open CMD options is in the completely blank area below all files. (I'm in details view.) No such area is available when files exceed a page? (Yes I applied the .REG file from tutorial.)


My System SpecsSystem Spec
.
05 Feb 2017   #31
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by appyface View Post
How do you get a 'background' to right-click on when the file pane is completely full? The only way I can get a context menu with Open CMD options is in the completely blank area below all files. (I'm in details view.) No such area is available when files exceed a page? (Yes I applied the .REG file from tutorial.)
You should be able to scroll down in the window or drag the window border until there's a blank space in the background to right click on.
My System SpecsSystem Spec
05 Feb 2017   #32
appyface

Win7 Pro SP1 64-bit
 
 

Right-clicking or shift-right-clicking in 'white space' (where there is file information somewhere on that line) doesn't bring up the CMD window options for me.

The only place I can get the options to come up is below the file list, on a completely blank line. But explorer won't give me that blank line when the file list exceeds one page, regardless of the size of the explorer window. I tried doing this in C:\windows directory, for example.
My System SpecsSystem Spec
05 Feb 2017   #33
Brink

64-bit Windows 10 Pro
 
 

How about to the right of the file?

If expanding the right border doesn't help, you should also be able to temporarily shrink the width of a column to be able to get enough blank space in the folder window background to Shift+right click on.

Does maximizing the window full screen help?
My System SpecsSystem Spec
.

05 Feb 2017   #34
appyface

Win7 Pro SP1 64-bit
 
 

No, to the right of the file line doesn't bring up any CMD window option. Maximizing doesn't work because the file list is still greater than one page, and scrolling to very bottom doesn't offer any blank line.


BUT - I just solved it with my send-to menu method. Don't know why I didn't think of this before.

1. Created shortcut to my OpenCMDPromptHere.bat file and renamed it OpenCMDPromptElev

2. Run as administrator is greyed out on Compatibility tab, BUT is still available under Shortcut tab, Advanced button.

Both normal and elevated CMD windows are available in the file's send-to menu now - and they both work.
My System SpecsSystem Spec
05 Feb 2017   #35
Brink

64-bit Windows 10 Pro
 
 

Great job.
My System SpecsSystem Spec
10 Mar 2017   #36
davidtzan

Windows 7 Ultimate x64
 
 
Open Command Window Here as Administrator

hello
i followed the post of how to integrate "open command windows here as administrator" with the help of registray file that add the command to the context menu of windows explorer (that you posted for download) and it works fine. as well as the other post of adding the "take ownership" of file or folder also with help of registray file. both of the files works fine and add the appropriate command to the context menu of windows explorer. but for some reason i don't understand they can't be added both to the context menu and everytime i double click the registray file of one of them the other dissapire from the context menu. any one know why?
My System SpecsSystem Spec
10 Mar 2017   #37
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Just my assumption,

If there using the same ROOT then they would overide the each other.

I've got admin command prompt on my task bar, the Take Ownership option is dangerous in the wrong hands if you DONT know what your doing LEAVE IT ALONE.

Roy
My System SpecsSystem Spec
10 Mar 2017   #38
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Quote   Quote: Originally Posted by torchwood View Post
Just my assumption,

If there using the same ROOT then they would overide the each other.

I've got admin command prompt on my task bar, the Take Ownership option is dangerous in the wrong hands if you DONT know what your doing LEAVE IT ALONE.

Roy


Jack
My System SpecsSystem Spec
Reply

 Open Command Window Here as Administrator




Thread Tools




Similar help and support threads
Thread Forum
Open Command Window Here - Add or Remove
How to Add or Remove "Open Command Window Here" from Context Menu in Windows This will show you how to add or remove Open Command Window Here from the context menu of the desktop, folders, and drives in Vista, Windows 7, and Windows 8. You must be logged in as an administrator to be able to...
Tutorials
Open Command Window Here
How to Use "Open Command Window Here" in Windows 7 This will show you how to use the Open Command Window Here context menu item of a folder or drive to open a command prompt with the focus at the folder or drive location in Windows 7. This will make it easier to perform a command task at...
Tutorials
Open Network window with a command?
Hi there, i would like to know if its possible to open up this window with a command in the commandprompt? I was planning on putting it in a batch file and execute the batchfile with a button made in rainmeter. Would be very handy for people who have a customized taskbar. At the moment I've only...
Customization
Open Command Window Here
For all DRIVES, <shift>|right-clicking displays OPEN COMMAND WINDOW HERE in the context menu, above the first separator. That item opens the command prompt. But for all other folders the OPEN COMMAND WINDOW HERE item displays below the first separator in the context box, and clicking on it...
General Discussion
Problem open command Window(administrator)
I'm trying to create some auto setup procedures but can not setup a CMD administrator command ( non administrator seems to work) registry tweak ; //run administrator command from explorer @="Open Command Window Here (Administrator)"
Network & Sharing
Open elevated command window here
I could prolly figure it out but does anyone know offhand how to add an "Open elevated command window here" option in addition to the "Open command window here" shift+context menu for a folder?
General Discussion


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 18:07.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App