dosemu2 / comcom64

64bit command.com
https://github.com/dosemu2/comcom32/
GNU General Public License v3.0
32 stars 5 forks source link

Continue on error? #85

Closed haenschen closed 8 months ago

haenschen commented 8 months ago

When encountering an error, batch files abort. E.g.

cd testdir
Directory does not exist - testdir
Batch file aborted - C:\USERHOOK.bat, line 2

Freecom and ms-dos command.com continue on error with the next line.

Maybe this is intended behaviour but imho there should be an option to set ContinueOnError=true. Some older dos program might make use of .bat files to set options or other things and will fail when encountering one faulty line.

stsp commented 8 months ago

Should now be fixed.