Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

ExecParm utility adds right-click context menu option to any application

With the utility called ExecParm, which adds a context menu option to any application, you'll be able to supply any command-line parameters you want to run that application.

More system administrative freeware tools 

The RoboCopy command-line tool can help admins better manage files.
Listing the current system settings via the command line to ease troubleshooting problems.
Here's a scenario administrators are probably all too familiar with. You have a program buried in some subdirectory you don't normally keep a shortcut to. So you drill down to it and run it, only to find that you need to supply some command-line parameter to get it to work correctly. This usually means having to crack open a command prompt and re-navigate to the folder (unless you have the foresight to install a shell extension that lets you open a command prompt in a folder directly by right-clicking on it).

Now imagine not having to go through all that trouble. MainSoft now offers a utility, called ExecParm, which adds a right-click context menu option to any application. Run it and you'll be able to supply any command-line parameters that you like to run that application.

The ExecParm context menu appears with .EXE, .COM or .BAT files, and you can add other file types (such as shortcuts, with some limitations).

ExecParm works by calling the ShellExecute API, which is the most broadly-documented way to do this sort of thing reliably, so the program doesn't add any system hooks except for the right-click context menu entries. (In plainer language, it should play nice with most other applications you might install.)

One drawback: There's no provision in Windows Vista to supply command-line parameters to a program when you run it as Administrator. You may be able to get around this by:

  1. having each instance of Explorer launch in a separate process
  2. then launching an instance of Explorer as admin
  3. then right-clicking to invoke the program.

That should cause the launched program to execute in the same elevated context.

About the author: Serdar Yegulalp is editor ofWindows Insight (formerly the Windows Power Users Newsletter), a blog site devoted to hints, tips, tricks and news for users and administrators of Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Vista. He has more than 12 years of experience working with Windows, and contributes regularly to SearchWinComputing.com and other TechTarget sites.

Dig Deeper on Windows Server storage management

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.