First post, by emjtech
Hi
Sometimes I need to use a very special and old editor on DOS
I use DOSbox in Windows 7.
If I use the following command on the shortcut :
D:\DOSBox\DOSBox.exe -userconf -conf D:\DOSBox\DOSBox-MEDIT.conf -c "MEDIT.exe N:\CAEdraw\CAEcmp.DAT"
It works perfectly , running MEDIT.exe with its file to edit N:\CAEdraw\CAEcmp.DAT
However if I use the following command on the shortcut to allow Drag&Drop :
D:\DOSBox\DOSBox.exe -userconf -conf D:\DOSBox\DOSBox-MEDIT.conf -c "MEDIT.exe %1"
DOSbox runs MEDIT.exe without parameters and then try to mount N:\CAEdraw and to run CAEcmp.DAT resulting in the following:
Mount C "N:\CAEdraw"
Illegal command: MOUNT.
C:
CAECMP.DAT
Illegal command: CAECMP.DAT
Running a batch file with the lines :
echo D:\DOSBox\DOSBox.exe -userconf -conf D:\DOSBox\DOSBox-MEDIT.conf -c "MEDIT.exe %1"
pause
Prints
D:\DOSBox\DOSBox.exe -userconf -conf D:\DOSBox\DOSBox-MEDIT.conf -c "MEDIT.exe N:\CAEdraw\CAEcmp.DAT"
(maybe some invisible characters?)
...
What I am doing wrong?