Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DOS box on a Mac

Posted on 2013-06-13
7
Medium Priority
?
640 Views
Last Modified: 2013-07-09
I have a customer that has asked the following question. Could anyone help?

I’ve installed Dosbox on a Mac, and it seems to work well so far.
 
For our DOS programme to work, we need a C: drive, and a D: drive (which is our shared network drive).
 
In Dosbox, I’ve managed to create a C: drive by mounting it to a folder that I created (DOSBOX) in the ‘Home’ folder on a Mac, using the following command:
 
MOUNT C ~/DOSBOX
 
It confirmed that the following path has been mounted successfully: /users/steve/dosbox
 
I now need to create a D: drive.
 
I’ve mapped the network drive (our nas server) using the cmd+K shortcut, and added it as a login item to my profile, so every I startup it automatically looks for this drive, and appears as a shared resource.
 
The problem I have, is that in Dosbox I can’t MOUNT the D: drive as I can’t tell it where to find it (ie with a text command etc).
 
Can you through any light on this? as in Windows it would be easy because we simply map a lettered drive to it, and Dosbox understands where to find it, but I’m struggling to do this with a Mac
0
Comment
Question by:grovenetsupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 53

Expert Comment

by:strung
ID: 39244147
Try opening a terminal window and draging and dropping the network volume into the window. This should give you the path name to the network drive.
0
 

Author Comment

by:grovenetsupport
ID: 39244893
I couldnt get it to work that way, but by pressing Cmd+K in Finder, it claims that the server address is:

Smb://192.168.1.2/public

(but Dosbox says directory doesn’t exist).

I need someway of making Dosbox think this is a physical drive
0
 
LVL 53

Expert Comment

by:strung
ID: 39245001
Does "public" show as a mounted volume on your desktop?

If so, what happens when you drag and drop the "public" icon into a terminal window?
0
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
LVL 53

Expert Comment

by:strung
ID: 39245018
Also, assuming the shared volume is mounted, in terminal type:

cd /Volumes

Then type ls

(ell ess, not one ess)

that should list the mounted volumes.

The address of your volume should be something like /Volumes/Shared

(commands and names are case sensitive)
0
 

Accepted Solution

by:
grovenetsupport earned 0 total points
ID: 39245764
Comments back from customer

In Finder, using cmd+K, my nas-server/public can be mounted (then has a little 'eject' symbol next to it)

As you say, dragging this into terminal, then LS, shows 'volumes/public'

Also, in Finder, it is shown as a 'shared resource' (with an eject symbol).

When clicking on Nas (nas-server) to explore, then 'public', then any folder, if you right click a folder and choose 'get info', it gives the following info:

Where: /Volumes/public
Server: smb://nas-server/public

In Dosbox, the following command now works:

MOUNT D /VOLUMES/PUBLIC

(upto now, I have been trying: MOUNT D SMB://NAS-SERVER/PUBLIC, which does not work).

With this, now we can MOUNT C, and MOUNT D, so our programs should now work.
0
 

Author Closing Comment

by:grovenetsupport
ID: 39309789
This was the work around which worked
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
This article outlines the struggles that Macs encounter in Windows-dominated workplace environments – and what Mac users can do to improve their network connectivity and remain productive.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question