Saving on DOSBox

Saving on DOSBox - Top view of different types and colors American dollars placed together on each other

I'm running ZORK.BAT on DOSBox. The problem is that whenever I want to save the game, and it asks me:

insert save disk then enter file name.
(Default is C:SAVE\ZORK1.DAT):

No matter what I wrote, it would tell me it can't find the file:

Unable to Access file
Failed.

I tried to copy a file in dos (outside game) and it wouldn't work as expected. I think maybe the DOSBox doesn't have writing permissions but I couldn't figure out how to fix this.

All the files (the ZORK1 folder) are saved in c:\OLDGAMES\ in my pc. I mounted OLDGAMES to be the c drive of the DOSBox so the directory for saving the file in the box is c:\ZORK1\SAVE\ZORK1.DAT. The directory and the file exists both on my computer and in the virtual box (when commanding "dir" it shows the "SAVE" folder in the list).



Best Answer

Try updating the SAVE/ZORK1.DAT file attributes so it is not read-only.

This fixed it for me.




Pictures about "Saving on DOSBox"

Saving on DOSBox - Crop man counting dollar banknotes
Saving on DOSBox - From above of dollar bills in opened black envelope placed on stack of United states cash money as concept of personal income
Saving on DOSBox - From above of United States currency folded in roll placed on USA flag illustrating concept of business profit and wealth



Can you save on DOSBox?

DOSBox runs programs from your existing hard drive, it just maps directories to virtual drives inside of itself. IOW, just use the save command in the game. Nothing fancy is involved.

How do I save files in DOSBox?

Save your file in Notepad (File > Save). Now run DOSBox. Thanks to our changes to the dosbox-0.74. conf file, DOSBox has automatically mounted the directory and used it as a pseudo hard drive.

How do you create a file in DOSBox?

Creating Files Using Windows DOS Commands
  • Introduction: Creating Files Using Windows DOS Commands. ...
  • Step 1: Click Start. ...
  • Step 2: In the Search Box Type Cmd. ...
  • Step 3: Press Enter. ...
  • Step 4: Type- Dir Then Press Enter. ...
  • Step 5: Type- Cd Desktop and Press Enter. ...
  • Step 6: Type- Mkdir YourName Then Press Enter.


  • Where do I put files in DOSBox?

    In order to install a game in DOSBox, you must mount both the folder where the game will be installed to and the disks or folder that has the install files. To install a game from a CD, put the CD in your drive and start DOSBox.



    DOSBox Tutorial - Installing Games With DOSBox




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Karolina Grabowska, Karolina Grabowska, Karolina Grabowska, Karolina Grabowska