Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know… You can add your own External Tools to the list? - #202

Go to the Tools – External Tools dialog, and you’ll see the Add  button. 

  1. Clicking Add will create a [New Tools 1] placeholder. 
  2. Let’s add Notepad as an external tool by calling it “Notepad” as the Title
  3. For the command, this is the actual executable (and location, if needed).  You should be able to just enter in “notepad.exe” depending on your environment variables.

Adding notepad to external tools

Now, this is the minimum you need to make an external tool work.  But let’s go a little further by exploring the optional arguments…

  1. For arguments, you can type in the name of a file, either existing (if you want notepad to open it) or the name of a file you want notepad to create.
  2. For initial directory, you can type in the file path, either where it exists or where you want it to save to.

And of course, we’ll see notepad in the Tools menu…

Notepad added to Tools menu

We’ll explore more of the arguments and other options in the upcoming tips… same RSS time, same RSS channel – for those of you who get the reference to the old batman tv series =D

Technorati Tags: ,
Posted: Friday, April 25, 2008 3:00 AM by saraford

Comments

Milan said:

I love this one. For some reason I have to switch to Dreamweaver from time to time and then open file that is already open in VS.

This tip will really save me some time.

Thanks

# April 29, 2008 7:19 PM

Steve said:

That was easy, probably the only time I'll ever get to say that regarding learning C#, hmmmm. Thank you so much !

# April 30, 2008 6:30 PM

xjb said:

# January 4, 2009 7:55 PM
New Comments to this post are disabled
Page view tracker