Command Prompt context menu item

Very useful...

Have you ever wanted to have a "Command Prompt" context menu item that allows you to open a DOS box at any folder location?

While we're at it, how about if we add the Visual Studio.NET environment path variables so you can run REGASM, WINCV or any of the other VS.NET tools from that command prompt?

Easy! Just save the following lines to a text file with a .REG extension and double-click on the saved file:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\Command Prompt\Command]
@="Cmd.exe /k \"C:\\Program Files\\Microsoft Visual Studio .NET\\Common7\\Tools\\vsvars32.bat\" "

Voila! Context menu choice for a Command Prompt with VS.NET environment by simply right-clicking on any folder!

Get the registration entry file here

source : Peter Bromberg (eggheadcafe.com)

[{Sudhakar's .NET Dump Yard;}]

1 Comment

  • Although this only works with VS 2002. To use with VS 2003 just Change "Visual Studio .NET\\" to "Visual Studio .NET 2003\\"

Comments have been disabled for this content.