VS2003 Command Prompt

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

I am trying to use Regasm from the command prompt and have to keep putting
the full file path of where my assembley is located. Does anyone know how to
set it up so wherever I run the command prompt from I can use Regasm saving
entering the full path.

Thanks
Msuk
 
Hi Msuk,

You can add the path to regasm or any other framework files in the operating system's Path variable.

Where the statements is located varies, but in Windows XP you can find it in

Control Panel->System->Advanced->Environment Variables

Double-click on the Path line and add

;C:\Windows\Microsoft.Net\Framework\v1.1.4322

to the end of that line. The ; is a directory separator character.
 
I use the same technique as the XP powertoy "Open Command Window here"

Try adding the following entries to your registry. You should get a new item
on the popup when you right click folders/drives in Windows Explorer.


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\vsnet]
@="Open VS.NET Command Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\vsnet\command]
@="cmd /k \"cd %L && \"C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Common7\\Tools\\vsvars32.bat\""

[HKEY_CLASSES_ROOT\Drive\shell\vsnet]
@="Open VS.NET Command Prompt Here"

[HKEY_CLASSES_ROOT\Drive\shell\vsnet\command]
@="cmd /k \"cd %L && \"C:\\Program Files\\Microsoft Visual Studio .NET
2003\\Common7\\Tools\\vsvars32.bat\""
 
Back
Top