First post, by jburville
My problem is very unusual. Partly because I am not running a game, and partly because it happens within VB. Listen me out.
I have a VB program, and when I run DOSBOX using the shell instruction and appactivate it, the program runs fine. I run it with -c Btest parameter, and that works fine. Btest is a dos batch file I created manually using notebook.
Then having succeeded at that, I create Btest.bat within the VB program, and enter the same things into it using writeline, and run DOSBOX in the same way as above, and I get errors as if there are some extra characters at the beginning of the file that DOSBOX sees that were not there when it was run from the notepad created file.
Now dont tell me that it should not be used for games, because, I dont see how this issue relates to games versus how I am using it. Clearly there is some differentiation between a file created using VB writeline, and a file created using notepad. Why would this happen, and is there a fix?
I also forgot to mention, I tested the same thing creating a bat file with DOS command dir /w, and that worked. My batch file contains a c+ compiled program with a parameter to be run.
Dubrave