I've managed to put all needed commands as parameters and some as autoexec commands (although it looks messy) and start it with a button but there are some display bugs and it's more of a DOSBpx-forum case. i modified the script code to correct a typoĪs I said before, script almost works, it starts DOSBox but nothing is mounted but now cmd.exe gives me "drive have already been mounted through SUBST command" message. To pass a parameter to a script just add the "%P" in the parameter field of total commander.įrom command line just add it after your script name. To get started you can generate a config file by creating the DOSbox folder in your libretro SYSTEM directory, and then loading any DOS application, exit back to the command interpreter and then run config -wcd, Configuration files allow you far better control than core options so far. launch your dosbox stuff mounting the virtual drive Could you please elaborate on passing folder as a parameter? I have no idea how to do this (I have 0 experience in batch files, only some entry level BASIC and C++)ĪS said, first you have to make it run from command line cmd.exe. Also, weird thing but "rem" does not comment sections out of a bat file for me, I needed to use "::". You know, paths that use 'dir/anotherdir'. If you mount C:GAMES as DOSBoxs C: drive, Windows will see any subfolders, say SEIRRA, as C. conf files that are being currently used. Apparently, when a Mac OS X application is run from the desktop, the current working directory is '/'. The script gives me nothing, nothing is mounted. DOSBox will see paths starting form the mounted C: drive. In the 'status' window (Windows) or in terminal (Linux), in the very beginning of log you will see paths to. I modded the main() function in DOSBox-X to print out argv0 and the current working directory, then ran the compiled code as an app from the desktop. When showing the DOSBox conf file / ScummVM ini file D-Fend Reloaded will add the. :: if dosbox wait for app to finish uncomment next line Fix The File path is relative to the DOSBox directory structure. D:\directory\DOSBox.exe d:\directory2\app.exe -c "MOUNT D W:"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |