Solved

DOS box on a Mac

Posted on 2013-06-13
7
576 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
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
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
 
LVL 53

Expert Comment

by:strung
ID: 39245021
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sluggish MBP browser 17 106
To get Mac Laptop, iphone, and ipad to be friend 6 90
MAC OS  - folder permissions 4 51
No Google Earth on my MacBook? 9 40
Finder.   The ubiquitous, built-in feature of the Mac OS X platform, that never sleeps, can help get to any destination within your Mac OS X volume, allows you to customize your desktop, files and folders and so much more. As one of the primary…
With the major release of Apple's 7th addition to the Mac OS X family, Mac OS X 10.6 Snow Leopard, there are a lot of enhancements which have arrived with this new OS X upgrade. With the number of enhancements and refinements I can provide deta…
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

752 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