Multiple commands w/ context menu registry entry?

  • Thread starter Thread starter Burma
  • Start date Start date
B

Burma

I'm wondering if there is a way to execute multiple commands on a
right-click context menu item?

For example, for the .txt file type I have a right-click menu item named
"MyEdit". When I select that, I'd like the .txt file to open in both
notepad and another editor I use. Thanks
 
Burma said:
I'm wondering if there is a way to execute multiple commands on a
right-click context menu item?

For example, for the .txt file type I have a right-click menu item named
"MyEdit". When I select that, I'd like the .txt file to open in both
notepad and another editor I use. Thanks

You can try and string along the two commands, e.g. like so:
notepad xxx.txt & MyEditor xxx.txt
or perhaps
cmd /c notepad xxx.txt & MyEditor xxx.txt

Alternatively you could place the two commands into a batch file which you
invoke via your menu item:
@echo off
start /b notepad "%1"
start /b MyEditor "%1"
 
Back
Top