https://bugs.winehq.org/show_bug.cgi?id=47359
--- Comment #16 from Alberto Salvia Novella es20490446e@gmail.com --- I guess the problem comes when telling is C: should be the Wine C:, or the launched program working directory.
Most likely the solution is:
if the program has been launched by another Windows program: C=wineC D=currentDir otherwise raw dosbox
D should always have the current dir, so any exe that needs a CD will work too.