Windows Run Command Wish List

In order to get more familiar with the new features in version 2.0 of .NET and C# I have been working on a side project using C# Express Beta 1. The project that I have been working on is a replacement for the windows run command. I for one use the run command a lot and there has always been some features lacking. Currently the run command provides a drop down list of the last 26 typed commands and the auto complete functionality for the file system / browser history as described here. Some features that I have already implemented for my new run command are:
  • Auto complete commands - as you type you are given a suggestion list matching what you have typed and the command that matches the closest is filled in for you
  • Smart suggestion list - the commands you use the most often appear at the top of the suggestion list, and the commands are pre-populated with common commands that someone might run like:
    • Start Menu Shortcuts
    • Control Panel Applets
    • Favorites
    • Recently Opened Documents
    • Common Windows Commands - i.e. My Computer, My Pictures, Administrative Tools, etc.
    • All Executables in the Path
  • Easily create short commands - being able to define short strings to run the command of your choice, like defining "ie" to open up Internet Explorer.
  • Command hotkeys - being able to assign a hotkey for any of your custom commands.
  • List computer shares on network - when you type "\\" it provides a list of the computers on your LAN and then when you type "\" again it provides a list of the shares on that computer (including hidden shares)
Also one other side feature not necessarily related to the run command that I'm including is the ability to assign a global hotkey that will minimize the foreground application to the system tray.
 
What I would like to know is if there are other things people would like to see included in a replacement run command? Please leave your suggestions in the comments. Once I have a working version I will post it.
 
Update: For anyone interested I have released see this post for information about the release of my program Run++.
Published Monday, August 30, 2004 1:33 PM by puzzlehacker

Comments

# RE: Windows Run Command Wish List

One thing I would like to see (and maybe you can do this already with the default run), is to run a CLI app, and have the command window stay there.

More precisely, say I want to see the output of ipconfig. I have to go to run, then do cmd, and then do ipconfig. If I just type in ipconfig at the run dialog, a command window pops up, shows the results, then disappears, much quicker than I can read the text.

It would be nice to have this command window stay open until I hit Escape, or something.

Thanks.

Monday, August 30, 2004 5:05 PM by mitchell@4guysfromrolla.com (Scott Mitchell)

# re: Windows Run Command Wish List

Scott,
That’s funny because I was just testing that exact scenario (including ipconfig as the test) on my new run command. You probably know that if you type “cmd /k ipconfig” from the run command the command prompt will stay open. Right now the only thing better you could do with my run command is setup a command say “c” and executes “cmd /k” and then you could type “c ipconfig” and it would execute that and the command prompt would remain open. Or you could create the command “ipconfig” and have it execute “cmd /k ipconfig”, but then you would have to create a command for all the console apps.

I will look and see if there is a way to determine if it is a console app that is running and if so then keep the console open. Thanks for the feedback.

Monday, August 30, 2004 5:23 PM by Wes

# re: Windows Run Command Wish List

How about a way to easily do a "run as"?

Like:(to run as the user 'admin')
"admin: somecommand"
"[admin] somecommand"
"-admin somecommand"

or whatever variation that didn't require mouse *or* tab,space,tab,username,tab,enter...

Monday, August 30, 2004 6:17 PM by Philip Rieck

# Determine if an executable is a Console Application in C#

Monday, August 30, 2004 8:16 PM by TrackBack

# re: Windows Run Command Wish List

Run access to shellexecuteex, eg

c:\somefile.txt, print

Wednesday, September 01, 2004 3:43 PM by David Candy

# re: Windows Run Command Wish List

Check out SlickRun, it has most of these features and totally rocks:
http://www.bayden.com/slickrun/

As for the ability to assign a global hotkey that will minimize the foreground application to the system tray, isn't Start-D not sufficient for that purpose? (didn't you mean the task bar, not system tray?)

Sunday, September 19, 2004 8:09 AM by AtliB

# re: Windows Run Command Wish List

AtliB,

Thanks for the suggestion I already know about SlickRun and it does provide a lot of these features.

I have already implemented most of these features and I will be posting about it soon. One of the main reasons I did do this project was to get myself familiar to with C# and .Net version 2.0. Another reason is because SlickRun doesn't do some of the things I wanted. Like the ability to assign a global hotkey to any command, the ability to run a program with different user credentials, or have a list of preloaded commands.

Also as far as the minimize to system tray feature, Win+D just shows the desktop, I want to minimize the foreground application but instead of minimizing to the taskbar I want to minimize to the system tray.

So essentially I have created three programs in one a new improved Run Command, a Hotkey program, and a Minimize to System Tray program. In the past I have had individual programs for each of these purposes.

I hope to release a beta version of my program soon.

Wes

Sunday, September 19, 2004 12:13 PM by Wes

# re: Windows Run Command Wish List

create a "set" program that excecutes from the run command set "iexplore.exe" "ie"

Friday, September 24, 2004 3:37 PM by Mathew Thomas

# re: Windows Run Command Wish List

Mathew, that is what short command names are all about. You can define ie to lanuch internet explorer.

By the way you can now check out the program Run++ (http://weblogs.asp.net/whaggard/archive/2004/09/19/231576.aspx)

Friday, September 24, 2004 3:40 PM by Wes

# re: Windows Run Command Wish List

having website excecutables would be a nice change -- eg

iexplore google.com search "run command"

Friday, September 24, 2004 3:41 PM by Mathew Thomas

# re: Windows Run Command Wish List

One of my example commands (http://puzzleware.net/runpp/editcommands.htm#sampleCommands) for Run++ is:

s "search text"

So if you typed "s run command"
it would open up your default browser with a google search of "run command"

Friday, September 24, 2004 3:49 PM by Wes

# Windows Run Command Wish List

Hey -- the the dos append command is darn useful:

append "c:\progra~1\aim\"

would allow you to run any program in the aim directory without the path

*note the append command doesn't seem to support long file names or file names with spaces.

Friday, September 24, 2004 3:57 PM by Mathew Thomas

# Why doesn't \\ autocomplete to all the computers on the network?

It used to, but that feature was quickly killed.

Tuesday, January 11, 2005 10:00 AM by TrackBack

# re: Why doesn't \\ autocomplete to all the computers on the network?

Tuesday, January 11, 2005 10:43 AM by TrackBack

# re: Windows Run Command Wish List

i want run cammand and short cammand of computer.tell me now ?

Wednesday, September 05, 2007 3:50 AM by nandkishore

# re: Windows Run Command Wish List

windows starting somthing problem. which method command for using pls help me

Tuesday, October 14, 2008 3:19 PM by muhammed shameer

Leave a Comment

(required) 
(required) 
(optional)
(required)