I am trying to execute .bat file in the DOSBox:
It starts with the following lines:
echo off
cls
if exist %1:\BLA\z.exe goto custom
if not exist d:\BLA\z.exe goto error
APPEND d:\BLA;d:\BLA\SUBFOLDER /X:ON /PATH:ON
goto start
And it results in:
Illegal command: APPEND.
As I understand the issue is that DOSBox does not support APPEND command.
How can I add missing DOS commands to the DOSBox? Can I somehow extract them from FreeDos project? Is it possible to extract required file / files, without installing FreeDos in virtual machine (and then copy-pasting required files)?
d:\bla;d:\bla\subfolder
to the path? as inpath=%path%;d:\bla;d:\bla\subfolder
?append
command instead. - There are few batch files that calls append commands (combined with if statements) before running theexe
.