Hi Alistair,
does DOS not have a Samba implementation via the "net use" command? If so, things get easy from here:
1. Enable Samba in your Mac OS: System Preferences | Sharing | Windows Sharing
2. Edit your Samba configuration file to include some folder on your Mac drive that you want to share with XP: go to the folder /etc on your system volume. In this folder you find a file named smb.conf. Open this file with TextEdit.
To add a share, add the following lines:
[somename]
comment = somename
path = /Volumes/Shaun/virtualdrive
browseable = yes
read only = no
create mode = 0770
This will tell Samba that you want to add a shared drive named "somename" which points to the folder /Volumes/Shaun/virtualdrive on your harddisk.
3. Assign a manual IP to your Parallels Network Adapter in Mac OS: go to System Preferences | Network | Parallels Host-Guest Adapter. Switch IP-setting to "manual" and give the adapter a private IP, say 192.168.1.50 with a subnet mask of 255.255.255.0
4. Shut down your VM in case it's running. Switch the network setup to "Host-only networking" in the VM preferences.
5. In your Windows system, give the Parallels network adapter an IP in the same range as done in 3., say 192.168.1.51 with a subnet mask of 255.255.255.0. To enable internet access from within the guest machine you'd have to enable internet sharing in Mac OS. But that's another matter.
6. Now your Windows guest system has an IP address in the same range as the Parallels Host-Guest Adapter in Mac OS. You may now try and ping the Mac side from within Windows. If that works, you're nearly there.
7. Try to connect to your Samba share via "net use" from within DOS or through "map network drive" from Windows explorer. You can use the address \\192.168.1.50\somename, as defined in steps 2. and 3.
That should work with the nice side effect hat you can access that virtual drive from Windows, DOS and Mac OS, even from another VM running Linux or else. I hope it fits your needs,
Kind regards, Malte.
Last edited: Jun 29, 2006