Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Execute DOS Batch from file right click context menu with alias

Status
Not open for further replies.

lrfcbabe

Programmer
Jul 19, 2001
108
US
Hope this is not a repost, I can do this from DOS with a batch file 'Start "C:\...\iexplore.exe", "some http link"'
And it works fine, I want to add this to the Right Click context menu when I click on a file of type n from windows explorer/folder view.
I have looked through the registry trying to come up with an idea of how it works, but I just keep going in circles. I did open with and it added the x.bat to the context menu,
and this to the registry HKEY_CLASSES_ROOT\Applications\substring.bat\shell\open\command\Default\"D:\DOS\Test\substring.bat" "%1".
I would like to display an alias in the context menu not the batch file name.

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top