First post, by Magstriker
I apologize if this was asked in the wrong area of this forum or if this question was asked and answered already. Please direct me to the solution or proper place to ask before closing this thread.
I'm currently on Windows 10 Pro 64Bit running DOSBox 0.74-3. I am trying to pass files to and from MS-DOS 6.22 to a folder on the host Windows 10 filesystem for automation and portability in some customizable front-end I'm making.
The idea is to:
copy a game save into a hard disk image,
mount said image when launching DOSBox,
boot into MS-DOS 6.22,
copy the save file from the image into the proper game directory,
run the game,
quit the game,
copy new save file onto the disk image,
quit DOSBox,
copy save file off the disk image to a final location somewhere on the host filesystem.
The problem I am running into is that Windows cannot edit the disk image formats that DOSBox can mount. I can create and edit .ISO files but those cannot be written to by DOSBox. Is there some way, possibly without images at all, to send files in and out of this virtual machine on Windows 10 entirely through the command prompt? I have already figured out the automation once DOSBox starts, but the outside half with disk image manipulation has stumped me. Is there a Windows 10 console-based application that allows me to edit DOSBox's hard disk image files? I know bximage from Bochs can create images but I cannot find an application to mount them in windows, or inject and extract files without mounting the images.
I am assuming MacOS and Linux have built-in tools like "dd" and "mount" to solve this issue, but if they do not could you please tell me how to swap files around on those OS's too?
In summary: Need R/W access to host filesystem (Win10, but also maybe MacOS, & Ubuntu) from DOSBox while running a guest OS.