Groups | Blog | Home
all groups > asp.net > january 2005 >

asp.net : old DOS days question


Chris
1/9/2005 8:09:02 PM
I'm manually compiling some .vb files and I am moving them to the
Microsoft.Net>Framework>v1.1.4322 directory so that when I run vbc.exe to
compile all the files I need they are in that directory (i.e. system.dll,
etc.).
I used to be able to, years ago, in DOS "PATH" to a directory so that it's
contents would be available no matter what directory you were in.
Can we still do this? This would be nice to avoid moving the .vb files.
Chinmay
1/9/2005 8:33:02 PM
Assuming you are using Windows XP follow this
- Right Click on My Computer on your Desktop.
- Click on Properties.
- Click on Advanced Tab.
- Click on Environment Variables. it will open up a dialog window.
- Under System Vars you'll find PATH, you can set it as per your
requirements.

You can do the same way with Windows 2000 also, but I m not sure abt exact
steps for now.

[quoted text, click to view]
Chris
1/10/2005 4:59:03 AM
no I was unaware, thank you. I saw another post where the person was using
the same path that I was so I thought that maybe that was the only way.
I like the VS command line prompt.

[quoted text, click to view]
Eliyahu Goldin
1/10/2005 10:10:41 AM
Are you aware of Visual Studio Command Prompt found in
Start->Programs->Microsoft Visual Studio .NET 2003->Visual Studio .NET Tools
?

Alternatively you can run batch file
"C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\vsvars32.bat"

It sets up environment variables for visual studio. After this you can
compile in your work directory.

Eliyahu

[quoted text, click to view]

AddThis Social Bookmark Button