Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DOS box on a Mac

Posted on 2013-06-13
7
Medium Priority
?
681 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
  • 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built onto of the OSX Server NetBoot system and uses images & workflows as its core assets. While work…
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 …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

963 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