DosBox 0.74 - "Illegal Command" Error When Mounting
I am running DosBox 0.74 on Linux Mint 18 and have an issue with trying to run certain built-in commands.
When using the dosbox-0.74.conf
file to mount images, folder, etc., it works fine. However, I am unable to mount anything from within the DosBox prompt itself.
When trying to use the mount
or imgmount
commands, I get the error Illegal command: mount.
.
Even running help /all
does not list these as available commands.
I seem to remember being able to use mount
all the time in the past (and indeed, many tutorials found online still say to issue the mount
command from within DosBox).
What am I missing?
Best Answer
The mount
and imgmount
commands exist on the virtual Z: drive within DOSBox. You need to either keep Z:\
in the PATH
or specify the drive letter explicitly when running them. For example:
z:mount c c:\games
z:imgmount d c:\cdgame.iso -t iso
Pictures about "DosBox 0.74 - "Illegal Command" Error When Mounting"
How do you solve illegal commands in DOSBox?
Just restart Dosbox by rightclick on Dosbox and run as Administrator. Illegal command solved.How do I mount a program in DOSBox?
Double-click the DOSBox executable in your Start menu, and when you see a black box with a Z: prompt, type the following command: mount c c:dosgames. That tells DOSBox to treat the C:DOSGAMES folder as the root C: drive.How do I mount an ISO in DOSBox?
How do I run a game in DOSBox that is a download and not a physical disk? If it's an ISO Image, either extract it into a file or use imgmount in the guide. If it's already a file, type "mount C C:\\DOSGAMES" and type C:. Now, if your game is in the DOSGAMES folder, then type "dir" and press enter.What does illegal command mean?
Updated: 10/11/2017 by Computer Hope. A command that the computer cannot execute, which causes it to be an illegal command. When an illegal command is encountered, the computer displays an error message or the computer may not operate properly.ADG Filler #4 - DOSBox Command Prompt
More answers regarding dosBox 0.74 - "Illegal Command" Error When Mounting
Answer 2
Just restart Dosbox by rightclick on Dosbox and run as Administrator. Illegal command solved.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ann H, Brett Jordan, Madison Inouye, Prateek Katyal