Yes indeed, I think you should read the documentation that came with your game. It will probably say it (or parts of it) require Windows 3.1 or something.
U talkin about what I said IIGS_User?? (Virus thing)
Coz my idea just involves mounting a temporary folder that's already empty, and the host would have companion software that "watches" this folder for any flags to know when to perform a specific, pre-set task. Sorry, it DEFINATELY wouldn't be just an "execute batch files that appear from DOSBox" thing 🤣 - it'd have it's own syntax parsing I reckon, for security reasons.
Only security issue would be in DOSBox itself, or if the companion program was infected. It's not like it'd watch for a "DELTREE C:\WINDOWS\" command then do it.... >_<
It was just an idea. But to be honest, I see little to no point of such a feature/program. I mean, why would you want DOSBox - an emulator for GAMING - to automate your host Windows PC?
If the O.P. or anyone else would like to gimme some reasons/ideas why it might be fun or useful, then I might start on it. Otherwise, I won't bring it up again - kind of a waste of time.