What command prompt?

G

glenn

I keep reading all sorts of books on VS that keep telling me to click on
Tools/Visual Studio Command prompt to run this program or that program.
However, I do not have such a menu choice. Where is this menu?

thanks,

glenn
 
W

Wayne

Start --> Programs --> Microsoft Visual Studio .NET 2003 --> Visual Studio
..NET Tools --> Visual Studio .NET 2003 Command Prompt



--
Thanks
Wayne Sepega
Jacksonville, Fl


"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein
 
N

ng5000

Hi,

It's not in the VS IDE, but rather under the start bar (in XP anyway)
i.e.

Start -> All Programs -> MS VS.NET -> .NET Tools

Nick
 
C

Claudio Grazioli

I keep reading all sorts of books on VS that keep telling me to click on
Tools/Visual Studio Command prompt to run this program or that program.
However, I do not have such a menu choice. Where is this menu?

thanks,

glenn

Are you looking for it in the menu's of Visual Studio itself? If so, than
that's the wrong place.

It's in your Windows Start Menu!

Start -> All Programs -> Microsoft Visual Studio .NET 2003 -> Visual Studio
..NET Tools -> Visual Studio Command Prompt

hth
 
J

James Curran

OK, here's my tip for making working with the VS Command prompt much easier.
Save the following lines as a .REG file and merge them into your registry:
-------start -----
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\VSDosHere]
@="Visual Studio .NET 2003 Command Prompt"

[HKEY_CLASSES_ROOT\Directory\shell\VSDosHere\command]
@="C:\\WINNT\\system32\\cmd.exe /k \"C:\\Program Files\\Microsoft Visual
Studio .NET 2003\\Common7\\Tools\\vsvars32.bat\" %1"
--------end------------
You may have to adjust the path to vsvar32.bat. Also, that path should be
all one line start with the @

Now, you can just right-click on a folder in Explorer, select "Visual Studio
..NET 2003 Command Prompt" and open a command prompt right in that directory.

One other thing to make life a bit easier. In the vsvars32.bat file, at the
very end (after the ":End" line), add the following:
-------- start -------
@echo.
@echo Current folder is:
@cd
@prompt $n$g
--------end--------
This will print out the current path, and then change the prompt to just
"C>" (The default prompt is the full path, which in a deep folder structure,
could wrap around a line.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top