1
Answer

Command Prompt

tellie_george

tellie_george

21y
1.9k
1
Hi I tried accessing the command prompt of the VS.net from my dos command prompt by changing the directory to programfiles\msvisualstudio.net\common7\tools and then running the VSVARS.bat file. I have a problem now and that is if I do not have the visual studio .net and have only the framework installed and want the command prompt of the .net environment to be run from my dos command prompt can I do the same way otr is there any other way of doing it. Please help Regards Tellie
Answers (1)
0
spgilmore

spgilmore

NA 591 0 21y
I'm not sure I understand you correctly. There's no reason you can't run this batch file whether you have Visual studio or not, unless it doesn't come with Visual Studio. (I have VS, so I don't know if it comes with the SDK or the Studio), but since you know what it does, why can't you write your own or just set the vars in the Windows environment? All I see is a bunch of environment variables being set. You can set any environment variables you want to by writing your own batch file or set then in the windows environment (this sets them automatically for every DOS window every time you boot): 1) right click on MY COMPUTER, select properties. 2) click on the ADVANCED TAB, then ENVIRONMENT VARIABLES 3) Locate the env var in question and modify it. If not found, create a new one. 4) close all DOS windows and open a new one for changes to take effect. Is that what you're asking?
Next Recommended Forum