Navigating to folders from VS

  • Thread starter Thread starter gemel
  • Start date Start date
G

gemel

Some of the folders in Visual Studio projects are fairly deeply nested
and this causes me a problem when I want to go to the VS Command
Prompt to use utilities such as ILDASM and CSC with the various
options. Is there a simple way to get to the project folders in
Command Prompt? I have been dropping the windows folder into the
Command Prompt window and this generates the correct path. But is
there an easier approach?

Regards

John L
 
In the Visual Studio IDE choose "External tools" from the "Tools" menu and
click on "Add". Add the following:

Title: Visual Studio .NET 2003 Command Prompt
Command: c:\windows\system32\cmd.exe
Arguments: /k "C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\vsvars32.bat"
Initial directory: $(ItemDir)

Change the drive letters if you need :) and click on "OK".

Now you can select an item or folder in your product and choose "Visual
Studio .NET 2003 Command Prompt" from the Tools menu to open a command
prompt with the default directory set to the directory of the selected item.

Gabriel Lozano-Morán
Software Engineer
Sogeti
 
Back
Top