How to run regasm.exe from command line other than Visual Studio command prompt?

Cute picture Cute · Jun 10, 2009 · Viewed 198.1k times · Source

I want to run regasm.exe from cmd. which is available in c:\windows\Microsoft.net\framework\2.057

I do like this c:\ regasm.exe

It gives regasm is not recognized as internal or external command.

So I understood that I need to set the path for regasm.exe in environment variable.

For which variable do I need to set the path to run regasm as described above?

Answer

anonymous coward picture anonymous coward · Jun 10, 2009

In command prompt:

SET PATH = "%PATH%;%SystemRoot%\Microsoft.NET\Framework\v2.0.50727"