How can I execute Microsoft Snap-in Console files without typing the .msc extension?

John Savill

January 16, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. By default, you don't have to type the extension to run certain file types (e.g., .exe, .bat). To add the Microsoft Snap-in Console to this list, you need to add .msc to your PATHEXT variable. To change this setting for a single command session, type

 set pathext=%pathext%;.MSC

To change this setting for all of Windows, you need to modify the system environment variable by performing the following steps:

  1. Start the System Control Panel applet (go to Start, Settings, Control Panel, System).

  2. Select the Advanced tab.

  3. Click Environment Variables.

  4. Under "System variables," double-click PATHEXT.

  5. Click Edit and add ;.MSC to the end of the string, then click OK.

  6. Click OK when prompted to close each dialog box.

You will now be able to start the Microsoft Snap-in Console without typing the .msc file extension after the snap-in filename (e.g., devmgmt).

Read more about:

Microsoft

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like