DIGIT-ARC read-only archive · snapshot: July 23, 2026

Path setting for .net framework4

3 posts · originally from https://geek.digit.in/community/threads/path-setting-for-net-framework4.142734/

bijay_ps
bijay_ps Original post #1
Jun 21, 2011 at 10:33 PM
Hey frndz am using .net framework 4 for c# programing.... and visual studio 2010 also. But for programs in which i need to supply command line argument gives error in visual studio 2010, so i thought of setting my path in environment variable,so that i can do it from cmd prompt. But even after setting path when I went to cmd and typed csc -? to check if path has been set correctly?
it didn't recognized the command.

So can anyone tell me a stepwise procedure for setting the path?
arpanmukherjee1
Jun 23, 2011 at 9:32 AM
in cmd type in
Code:
%comspec% /k ""G:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86

it sets env for x86 .

or else replace x86 by :
Code:
amd64    
x64      
ia64     
x86_amd64 
x86_ia64
bijay_ps
Jun 25, 2011 at 8:39 PM
thnx alot :)