trying this syntax recommended by headkaze I have fixed the error 2 code:
cmd.exe /C "C:\Emulation\Programs\joy2key\joy2key.exe fusion"
however I'm still having issues with epsxe and zsnes while Fusion and vnes are working fine.
The joy2key cfg is working in conjunction with Mala Hotkeys for zsnes, fusion, and vnes. I've set the Mala Hot Key for "close" to "Q" for each of those emulators and it works flawlessly with the keyboard.
When I press the button that I've assigned "Q" to when zsnes is loaded with the above pre-command the screen returns to Mala but the snes music is still playing and I have to right click and "kill zsnes" before the menu activates.
Similar issue with epsxe but not using Mala Hot Keys for that, just expecting my joy2key cfg for epsxe to make a button "esc." Similar issues are arising with at least music continuing to run in the back ground that requires right click "kill epsxe" to return to menu.
Any ideas?