First post, by XZQVenus2
Hello,
I'm trying to find a way to prevent DOSBox from creating the files stdout.txt and stderr.txt when running with the -noconsole switch. There doesn't seem to be an option to suppress the report output altogether. I'd like the excution of the program to be completely "clean", i.e. no secondary console window and no extra files created - just run the Dos prog.
I'd also settle for a way to delete these files after the program exits, but I don't want to have to use a separate launcher or script. I'm hoping there's a way to do this with DOSBox itself, either with CLI switches or possibly from the autoexec section in the conf file. However, I've found that the stdout and stderr text files can't be deleted using the autoexec section of the conf file because the files are locked while DOSBox is running.
What I'm trying to do is create stand-alone portable DOS apps from a couple of my old games for running on windows. II don't like the fact that these extra files are created because I'm going for a seamless presentation. I just want to click the EXE, play the game, exit and have nothing in my working dir execpt for the portable-ized EXE and some save game files I also don't want the additional console window in the background for presenttation reasons.
Is there any kind of "no output" feature that I'm missing, or will I have to create a separate launcher utility to tidy up my working directory after DOSBox exits? I'd be very grateful for any ideas, or if this were made a permanent feature.