Yes, the OS will launch the default program. Good suggestion. However, we add a macro to the command line that prints and quits Word. I just tried this and the command processor will launch word but does not honor the macro. I don't think the parameter gets passed.
I created an environment variable WORD and used %%WORD%% to access it. Works great!
run cmd /c %%word%% m:\filename.doc /mMacroName
Much simpler than trial and error looking for the right directory. Migrating to vDos is making me think about things we have been doing inefficiently for 20-25 years. TY, Jos.
Last Edit: May 14, 2020 16:11:46 GMT 1 by oldsk3wl: solved