Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding editors in Visual Studio "Open With..." dialog box

I added a batch (.bat) file to my project. I want to add a new editor for batch files that would actually execute this batch file in command prompt window.

What I did, but didn't remember my editor:

  1. Right clicked on my .bat file
  2. Selected Open with...
  3. Clicked Add
  4. Set program as "cmd /c" and some Friendly name
  5. Accepted this dialog.
  6. A new window appears that tells me it can't validate editor path (because of the additinoal parameter, because if I remove it, it works)
  7. My new editor is in the window.

When I open the same Open with... dialog again, my editor isn't present.

How should I tackle this?

like image 506
Robert Koritnik Avatar asked Jul 08 '09 19:07

Robert Koritnik


Video Answer


1 Answers

I just told visual studio to open the .bat file with windows explorer ;)

Add Program dialog - explorer.exe

like image 156
Shaun Rowan Avatar answered Oct 06 '22 23:10

Shaun Rowan