Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to have:

  • checkbox "run as administrator"
  • program name completion
  • command history

in Win+R dialog under Windows 7.

Is it possible such customization without any external tools. like http://www.technize.com/runmanager/ ?? I don't like installing a lot of tools for such small tasks but I think it is easy to run proper .reg file once...

But I already use http://classicshell.sourceforge.net/ to make working environment more natural for my needs.

Windows XP have command history in "Run command" dialog but it was disappear in Windows 7 (for my installation)...

Links:

share|improve this question

3 Answers 3

I would assume Classic Shell uses the normal Shell Run dialog like the system does.

That dialog (and the underlying functionality) is provided by shell32.dll.
This question explains how to invoke it programmatically.

So, a solution would have to hook any call to that function to fully replace the functionality with an own dialog.

I guess writing such a software is not impossible, but I'm certain that the functionality you're looking for isn't already built into Windows. So I doubt you would be able to just enable it by running a .reg file.

share|improve this answer

if, i understand you correct, you want to run programms from "Run command" and set alias for every exe file, you can create bat file which run every programm you need with name of alias, and set the directory with this file to PATH environment variable. I think it'll be work. If i 'not understand you correctly can you explain your question with more details please. Thanks

share|improve this answer
    
program name completion is not alias, it is completion )) Like <kbd>TAB</kbd> in GNU Bash... –  gavenkoa May 6 '12 at 20:43

I have both history and completion, are you sure you don't have history in the dialogue? Have you removed it, then add it again! :)

To run as admin hit ctrl+shift+enter instead of just enter in the search box (not run dialog). That is, to run a command prompt: hit Win (and only Win), type cmd and then ctrl+shift+enter

share|improve this answer
1  
He uses ClassicShell and (maybe) doesn't even use these (great) features. :( –  Oliver Salzburg May 6 '12 at 20:53
    
Sorry, I use classicshell.sourceforge.net and "Classic Start Menu" and Win+R. Anyway I need to run program that in my PATH env var instead of icons in "Program menu"... –  gavenkoa May 6 '12 at 20:55
    
@OliverSalzburg Thanks for explanation)) –  gavenkoa May 6 '12 at 20:56
    
Hmm OK, each to his/her own I guess. You are removing the best feature that was added in vista and later (hitting the win and just type what you want, program, command, document, web, whatever...). It's not jsut the programs from the menu. "cmd" works fine for example. –  Mattias Isegran Bergander May 6 '12 at 21:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.