Thursday, September 21, 2006

Tips: Prompt VS.Net Command Prompt in one click.

As we always using command prompt.. and we are usually too lazy to type cd ~ to your desire path.

Well, here is a quick way to do it.

You need to modify registry

here is the registry key

Type regedit then go to the following path

[HKEY_CLASSES_ROOT\Directory\shell\Visual Studio .NET 2003 Command Prompt]

 

[HKEY_CLASSES_ROOT\Directory\shell\Visual Studio .NET 2003 Command Prompt\command]

"cmd.exe %1 /K \"C:\\Program Files\\Microsoft Visual Studio .NET 2003\\Common7\\Tools\\vsvars32.bat\""

 

note: %1 will be your highlighted directory.

you can add whatever you want may be you can just call is VS.Net Cmd other than .. the full name..

 

Cheers,

Gary

0 comments: