Problem Addiing External Tools

Problem Addiing External Tools

Post by David Roger » Thu, 16 Jan 2003 05:53:38



I would like to add a "Command Window" tool under the
Tools menu, however I cannot figure out how to get
the "External Tools" dialog box to accept my arguments
correctly:

Command:
C:\WINNT\system32\cmd.exe

Arguments:
/K "c:\program files\Microsoft Visual Studio .NET\Common7
\Tools\vsvars32.bat"

Is there a way to do this?

Thanks!
David Rogers

 
 
 

Problem Addiing External Tools

Post by Visual Studio Core Team [MS » Fri, 17 Jan 2003 07:59:16


David,

Is the error that you're getting "'c:\program' is not recognized as an
internal or external command, operable program or batch file."?  If so, I
think you can work around this by doubling the quotes, i.e., setting the
Arguments to

    /K ""c:\program files\Microsoft Visual Studio
.NET\Common7\Tools\vsvars32.bat""

This works for me, but I can't find it documented anywhere.  I'll make a
note of this problem and try to get a product fix, or better documentation,
in a future version of Visual Studio.

Thanks!

--
Paul
VS Core Team
This posting is provided "AS IS" with no warranties, and confers no rights.


Quote:> I would like to add a "Command Window" tool under the
> Tools menu, however I cannot figure out how to get
> the "External Tools" dialog box to accept my arguments
> correctly:

> Command:
> C:\WINNT\system32\cmd.exe

> Arguments:
> /K "c:\program files\Microsoft Visual Studio .NET\Common7
> \Tools\vsvars32.bat"

> Is there a way to do this?

> Thanks!
> David Rogers


 
 
 

Problem Addiing External Tools

Post by David Roger » Sat, 18 Jan 2003 09:29:21


That did it...Fantastic! Thanks!

--
David Rogers



> David,

> Is the error that you're getting "'c:\program' is not recognized as an
> internal or external command, operable program or batch file."?  If so, I
> think you can work around this by doubling the quotes, i.e., setting the
> Arguments to

>     /K ""c:\program files\Microsoft Visual Studio
> .NET\Common7\Tools\vsvars32.bat""

> This works for me, but I can't find it documented anywhere.  I'll make a
> note of this problem and try to get a product fix, or better
documentation,
> in a future version of Visual Studio.

> Thanks!

> --
> Paul
> VS Core Team
> This posting is provided "AS IS" with no warranties, and confers no
rights.



> > I would like to add a "Command Window" tool under the
> > Tools menu, however I cannot figure out how to get
> > the "External Tools" dialog box to accept my arguments
> > correctly:

> > Command:
> > C:\WINNT\system32\cmd.exe

> > Arguments:
> > /K "c:\program files\Microsoft Visual Studio .NET\Common7
> > \Tools\vsvars32.bat"

> > Is there a way to do this?

> > Thanks!
> > David Rogers

 
 
 

1. Programatically customizing Tools->External Tools in VS IDE

Hi Folks,

I would like to programatically customize the external tools found within
the Tools menu of Visual Studio IDE ("Tools | Customize | Tools" in 6.0 and
"Tools | External Tools" in .NET is how one currently does it in an
interactive mode)

I do know that VS IDE uses the registry settings to save the data specific
to each of the tool entry. Other than adding stuff in the registry directly,
is there a way one can programatically (maybe using an Installer) customize
the Tools menu (to add custom tool entries). I would prefer not add
these registry entries myself.

Thanks,
A. Nahata

2. Good reference for Spatial Data Structure

3. External Tools problems in VS.NET

4. the Old "pie-in-the-puss" gag.

5. VS External Tools problem

6. Perfmon won't read log files from customer site

7. Problem with external tools when OutputDir was changed

8. Custom Control

9. External Tools Argument from Clipboard

10. Bug with external tools and batch files

11. Attrib.exe in External Tools

12. Suggestion: Provide $(IntDir) in External Tools

13. BUG: External Tools Macros