title: how to ensure that VSVARS32.BAT batch file have permanent effect?
body: <p>If I need to use microsoft C# compiler from the normal command prompt, it says <a href="http://msdn.microsoft.com/en-us/library/78f4aasd.aspx" rel="nofollow noreferrer">right here</a> how and it says <a href="http://msdn.microsoft.com/en-us/library/1700bbwd.aspx" rel="nofollow noreferrer">right here</a> how I set the environment variable (by running VSVARS32.BAT). I execute it and after that I can run "csc" (the compiler). However the effect seems to disappear when I close the command line window that run VSVARS32.BAT</p>
  
  <p>Is there a way to make the environment variables permanent, so that I can run csc.exe from an application?</p>