MS-DOS Batch function runs internal commands

Hello guys,

by accident I discovered, that a button which is set to "MS-DOS Batch Function" will run DO internal script commands. Does that work as intended?

I noticed because I have an internal DO script command "Git", in a MS-DOS button I wanted to run "Git" (and Git.exe is what I meant obviously), but it would always run the Git script command instead.

Thanks! o)

Yep, that's on purpose.

You can use @externalonly to prevent it.

Ooookay! o)

I sometimes think about a little status bar or something similar right below the button code area, where DO would show some warnings and hints about the things you entered. Like conflicts between internal/external commands, the advice to use "@external" only in these cases. Warn if you're using modifiers which will not work or are rather useless for specific button types etc. It can be hard to get it right, even if the button only has 1 line like mine. o)

Thank you! o)