OctoPussy Posted August 31, 2004 Share Posted August 31, 2004 Hey Guys, I am trying to pass an environment variable as a command line argument in project properties in Visual Studio (see attached image). The problem is when i run this my command line argument becomes C:\Program FIles\Perseus Studio.Net\%MY_ROOT%\test\..... :no: How do i make it take the value of %MY_ROOT% ? :huh: If i run this command line it works fine . THe problem only occurs in VS. Please suggest something since this is very important fot me. :( Link to comment Share on other sites More sharing options...
0 OctoPussy Posted August 31, 2004 Author Share Posted August 31, 2004 I tried uploading the image. i dont know why it didnt upload. :pinch: Link to comment Share on other sites More sharing options...
0 bithub Posted August 31, 2004 Share Posted August 31, 2004 Try $(MY_ROOT) or ${MY_ROOT} Link to comment Share on other sites More sharing options...
Question
OctoPussy
Hey Guys,
I am trying to pass an environment variable as a command line argument in project properties in Visual Studio (see attached image). The problem is when i run this my command line argument becomes
C:\Program FIles\Perseus Studio.Net\%MY_ROOT%\test\..... :no:
How do i make it take the value of %MY_ROOT% ? :huh:
If i run this command line it works fine . THe problem only occurs in VS. Please suggest something since this is very important fot me. :(
Link to comment
Share on other sites
2 answers to this question
Recommended Posts