I will...thanks.The shell integrate thing that comes with 4nt does this for cmd files as well as btm files. I use it to run EXTPROC batches under cmd.exe shell.
You may look at http://www.maddogsw.com/cmdutils/ , which has utilities for context and propsfor, which opens the context menu, and properties sheet for any file it is "sent to", ie context myfile.jpg will open the properties sheet for that app.
As far as I know you get the same context menu in TCMD that you get in Explorer. I doubt there's any way to change that (because TCMD uses Explorer).Maybe I'm just not seeing it, but is there a way to have an "open with" on a right-click menu for files in Take Command?
And it doesn't work on Win10. It just fails silently. I'm very curious about why it fails. I couldn't find a signature for OpenAs_RunDLLW online. I dug it out of the SHELL32.PDB in the symbols directory for WinDBG on Win7. It looks like this (with its translation).This works too (only tested on Win7).
v:\> undecorate ?OpenAs_RunDLLW@@YGXPAUHWND__@@PAUHINSTANCE__@@PBGH@Z void __stdcall OpenAs_RunDLLW(struct HWND__ *,struct HINSTANCE__ *,unsigned short const *,int)
Never mind; I got it. It's the 64-bit version of the same thing.I can't do the same on Win10. Can anyone determine the signature of OpenAs_RunDLLW on Win10?
v:\> undecorate ?OpenAs_RunDLLW@@YAXPEAUHWND__@@PEAUHINSTANCE__@@PEBGH@Z void __cdecl OpenAs_RunDLLW(struct HWND__ * __ptr64,struct HINSTANCE__ * __ptr64,unsigned short const * __ptr64,int)