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

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?

This question is related to .net c++ visual-c++ command-line operating-system

The answer is

In command prompt:

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

Similar questions with .net tag:

Similar questions with c++ tag:

Similar questions with visual-c++ tag:

Similar questions with command-line tag:

Similar questions with operating-system tag: