Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Virtual PC / May 2008

Tip: Looking for answers? Try searching our database.

Files sharing between DOS and XP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack - 08 May 2008 04:43 GMT
Dear guys,
My host is Windows XP Pro SP2
and my guest is dos6.2 + win3.1
How do I share files between the host and the vm?
Thanks
Jack
Saga - 08 May 2008 15:46 GMT
Did you try definig a shred folder in the Settings option of VPC?

Saga
Signature


> Dear guys,
> My host is Windows XP Pro SP2
> and my guest is dos6.2 + win3.1
> How do I share files between the host and the vm?
> Thanks
> Jack
Saga - 08 May 2008 15:47 GMT
Oops, that was "shared".
Saga
Signature


> Dear guys,
> My host is Windows XP Pro SP2
> and my guest is dos6.2 + win3.1
> How do I share files between the host and the vm?
> Thanks
> Jack
Mark Rae [MVP] - 08 May 2008 16:09 GMT
> Oops, that was "shared".

And "defining", we suppose... ;-)

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Saga - 08 May 2008 18:13 GMT
Yes, thank you :-S
Saga
Signature


>> Oops, that was "shared".
>
> And "defining", we suppose... ;-)
Buddha - 09 May 2008 01:47 GMT
You'll need to go to Action-Install or Update Virtual PC Additions and
install them in order to share folders between Guest and Host.

Buddha

> Yes, thank you :-S
> Saga
>>
>>> Oops, that was "shared".
>>
>> And "defining", we suppose... ;-)
Jack - 09 May 2008 11:19 GMT
> You'll need to go to Action-Install or Update Virtual PC Additions and
> install them in order to share folders between Guest and Host.

Hmmm, but does it work for DOS because I find the shared folder item in vm
setup dimmed? and just for DOS... I think... correct me if I am any wrong.
Thanks
Jack

> Buddha
>
[quoted text clipped - 4 lines]
>>>
>>> And "defining", we suppose... ;-)
Jack - 09 May 2008 11:27 GMT
> Hmmm, but does it work for DOS because I find the shared folder item in vm
> setup dimmed? and just for DOS... I think... correct me if I am any wrong.

Settings... I meant, sorry for my bad english

> Thanks
> Jack
[quoted text clipped - 7 lines]
>>>>
>>>> And "defining", we suppose... ;-)
Mark Rae [MVP] - 09 May 2008 13:32 GMT
>> You'll need to go to Action-Install or Update Virtual PC Additions and
>> install them in order to share folders between Guest and Host.
>
> Hmmm, but does it work for DOS because I find the shared folder item in vm
> Settings dimmed? and just for DOS... I think... correct me if I am any
> wrong.

OK, let's take a step back here...

1) DOS is not a supported guest operating system in VPC 2007. Therefore,
there are no Additions for DOS in VPC 2007.

2) DOS was a supported guest operating system in the previous version of
VPC. Therefore, it will be necessary to get hold of the previous version of
the Additions. If you don't have them, you can download them here:
http://www.essjae.com/VPC/VPC2004VMAdditions.zip

3) Extract the DOS Additions .VFD file and capture it while the DOS virtual
machine is running.

4) Run the install program from the virtual floppy.

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Jack - 09 May 2008 14:02 GMT
> the Additions. If you don't have them, you can download them here:
> http://www.essjae.com/VPC/VPC2004VMAdditions.zip

Thanks Mark, I will give it a try.
Jack
Steve Jain - 09 May 2008 18:12 GMT
>>> You'll need to go to Action-Install or Update Virtual PC Additions and
>>> install them in order to share folders between Guest and Host.
[quoted text clipped - 17 lines]
>
>4) Run the install program from the virtual floppy.

The DOS Additions are also on the 2007 Additions ISO file, but they
need to be extracted and manually set up, there is no batch file for
configuration.

Signature

Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
I do not work for Microsoft.

Mark Rae [MVP] - 09 May 2008 19:06 GMT
> The DOS Additions are also on the 2007 Additions ISO file

I wasn't aware of that...

http://blogs.msdn.com/virtual_pc_guy/archive/2007/10/30/installing-dos-additions
-under-vpc-2007.aspx


Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Bo Berglund - 09 May 2008 21:22 GMT
>The DOS Additions are also on the 2007 Additions ISO file, but they
>need to be extracted and manually set up, there is no batch file for
>configuration.

And right you are! The ISO file can be opened with WinImage and then
the DOS additions can be pulled out from the iso file. WinImage can
also be used to put the additions onto a virtual floppy ready to be
used in tghe guest os.

Bo Berglund
Jack - 10 May 2008 06:53 GMT
Thank you guys for your additional information.
I must confess that I am a bit ambitous
that I want to install everything in DOS
for example CD-ROM, sound, emm386 and himem etc, I finally end up with less
than 380K of conventional RAM after everything gets loaded.  Now I want to
install network for DOS. For this sake, I use memmaker.exe to shuffle all
the programs up to upper memory, but it's still not enough
because only 3-4 programs gets moved up. Are there any ways to get more
conventional memory in my case?
I use
DEVICEHIGH
and
emm386.exe ram
etc
Thanks
Jack
Wesley - 10 May 2008 09:11 GMT
Jack, I have never installed Vmadds in Win3.1, but the DOS Vmadds must be
installed via the autoexec.bat and config.sys files. Get a copy of the VPC
2004 help files are read about the DOS vmadds. You will need to change the
mouse driver, fshare, Idle (maybe) and Vmadd's 386emm driver (there are some
limitations with using this driver).

Signature

Wesley

> Thank you guys for your additional information.
> I must confess that I am a bit ambitous
[quoted text clipped - 12 lines]
> Thanks
> Jack
Jack - 10 May 2008 09:32 GMT
> Jack, I have never installed Vmadds in Win3.1, but the DOS Vmadds must be
> installed via the autoexec.bat and config.sys files. Get a copy of the VPC
> 2004 help files are read about the DOS vmadds. You will need to change the
> mouse driver, fshare, Idle (maybe) and Vmadd's 386emm driver (there are
> some
> limitations with using this driver).

what is vmadd386.vfd for? I don't quite get it :(
Do I have to put a line like DEVICE=C:\VMADD386.vfd etc
into autoexec.bat?
I have a lack of conventional memory < 380K!! :(
Just the network drivers/kits occupy almost all of it....
:)
Thanks
Jack

> --
Paul Adare - 10 May 2008 09:52 GMT
>  > Jack, I have never installed Vmadds in Win3.1, but the DOS Vmadds must be
>> installed via the autoexec.bat and config.sys files. Get a copy of the VPC
[quoted text clipped - 8 lines]
> I have a lack of conventional memory < 380K!! :(
> Just the network drivers/kits occupy almost all of it....

That is the virtual floppy disk that contains the additions for DOS.

Signature

Paul Adare
http://www.identit.ca
Another megabytes the dust.

Jack - 10 May 2008 09:56 GMT
Should be vmadd.386 included in the Floppy disk image..
Jack - 10 May 2008 10:15 GMT
It's okay now, but it is running out of memory when executing autoexec.bat.
I used memmaker to no avail... I can add those lines in my autoexec.bat but
the conventional memory seems to be overcrowded
so I can't start other programs
Thanks
Jack
Jack - 10 May 2008 10:59 GMT
Tried to cram everything in, to no avail
I give up :(
Thanks
Jack
Mark Rae [MVP] - 10 May 2008 12:56 GMT
> Tried to cram everything in, to no avail
> I give up :(

Even with all of the Additions and networking loaded, I still have 410K of conventional memory free:

Modules using memory below 1 MB:

 Name           Total       =   Conventional   +   Upper Memory
 --------  ----------------   ----------------   ----------------
 MSDOS       16,141   (16K)     16,141   (16K)          0    (0K)
 HIMEM        1,120    (1K)      1,120    (1K)          0    (0K)
 EMM386       4,144    (4K)      4,144    (4K)          0    (0K)
 CDROM        4,224    (4K)      4,224    (4K)          0    (0K)
 COMMAND      2,928    (3K)      2,928    (3K)          0    (0K)
 FSHARE      26,560   (26K)     26,448   (26K)        112    (0K)
 PROTMAN        400    (0K)        400    (0K)          0    (0K)
 DC21X4      42,704   (42K)     42,704   (42K)          0    (0K)
 TCPDRV       1,328    (1K)      1,328    (1K)          0    (0K)
 DIS_PKT      4,192    (4K)      4,192    (4K)          0    (0K)
 PROTMAN      2,560    (3K)      2,560    (3K)          0    (0K)
 TCPTSR      76,784   (75K)     76,784   (75K)          0    (0K)
 TINYRFC     18,256   (18K)     18,256   (18K)          0    (0K)
 NMTSR        6,160    (6K)      6,160    (6K)          0    (0K)
 DNR         14,512   (14K)     14,512   (14K)          0    (0K)
 BASIC       13,776   (13K)     13,776   (13K)          0    (0K)
 DISPLAY      8,336    (8K)          0    (0K)      8,336    (8K)
 MOUSE        8,864    (9K)          0    (0K)      8,864    (9K)
 KEYB         6,944    (7K)          0    (0K)      6,944    (7K)
 NEMM           672    (1K)          0    (0K)        672    (1K)
 UMB            688    (1K)          0    (0K)        688    (1K)
 IFSHLP       4,000    (4K)          0    (0K)      4,000    (4K)
 SMARTDRV    27,488   (27K)          0    (0K)     27,488   (27K)
 MSCDEX      27,952   (27K)          0    (0K)     27,952   (27K)
 DOSKEY       4,144    (4K)          0    (0K)      4,144    (4K)
 Free       443,840  (433K)    419,600  (410K)     24,240   (24K)

Memory Summary:

 Type of Memory       Total   =    Used    +    Free
 ----------------  ----------   ----------   ----------
 Conventional         655,360      235,760      419,600
 Upper                113,440       89,200       24,240
 Reserved                   0            0            0
 Extended (XMS)     2,966,752    1,271,008    1,695,744
 ----------------  ----------   ----------   ----------
 Total memory       3,735,552    1,595,968    2,139,584

 Total under 1 MB     768,800      324,960      443,840

 Largest executable program size        419,488   (410K)
 Largest free upper memory block         10,480    (10K)
 MS-DOS is resident in the high memory area.

DEVICEHIGH=C:\DOS\VMADD386.SYS
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE NOEMS HIGHSCAN I=B000-B7FF
BUFFERS=15,0
FILES=30
LASTDRIVE=z
FCBS=4,0
DOS=HIGH,UMB
COUNTRY=044,,C:\DOS\COUNTRY.SYS
DEVICEHIGH /L:1,15792 =C:\DOS\DISPLAY.SYS CON=(EGA,,1)
DEVICEHIGH /L:0,4208 =C:\DOS\CDROM.SYS /D:MSCD001
DEVICEHIGH=C:\NETTCPIP\NET\ifshlp.sys

@ECHO OFF
PROMPT $p$g
PATH C:\DOS;C:\NETTCPIP\NET
SET TEMP=C:\DOS
SET DIRCMD=/O:GN
MODE CON CODEPAGE PREPARE=((437) C:\DOS\EGA.CPI)
MODE CON CODEPAGE SELECT=437
LH /L:0;3,45456 /S C:\DOS\SMARTDRV.EXE /X
LH /L:1,16656 KEYB UK,,C:\DOS\KEYBOARD.SYS
LH C:\DOS\MSCDEX.EXE /D:MSCD001
LH C:\DOS\DOSKEY.COM
LH C:\DOS\MOUSE.COM
LH C:\DOS\FSHARE.EXE
cd C:\NETTCPIP\NET
net init
netbind
LH umb
tcptsr
tinyrfc
nmtsr
LH emsbfr
dnr
net start workstation
net logon
cd\

I've tried to persuade some of the smaller networking utilities to load into the remaining 24K of UMB, but to no avail.

Have you tried QEMM...?
http://www.vetusware.com/download/QEMM%209.0/?id=3307

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Mark Rae [MVP] - 10 May 2008 21:43 GMT
> Even with all of the Additions and networking loaded, I still have 410K of
> conventional memory free:
> Have you tried QEMM...?

With QEMM, I get just under 500K free conventional RAM...

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Jack - 11 May 2008 06:33 GMT
Hi Mark,
Hmm... but you haven't included a sound card driver :)

have fun
Thanks
Jack
Steve Jain - 11 May 2008 21:53 GMT
>Hi Mark,
>Hmm... but you haven't included a sound card driver :)
>
>have fun
>Thanks
>Jack

Generally, you didn't include a sound driver with DOS.  Each DOS app
had it's own sound driver.

Signature

Cheers,
Steve Jain, Virtual Machine MVP
http://vpc.essjae.com/
I do not work for Microsoft.

Bob Campbell - 10 May 2008 21:37 GMT
>>The DOS Additions are also on the 2007 Additions ISO file, but they
>>need to be extracted and manually set up, there is no batch file for
[quoted text clipped - 4 lines]
> also be used to put the additions onto a virtual floppy ready to be
> used in tghe guest os.

Or you can just open the ISO in any Windows VM (capture ISO image) and copy
the files out that way.
Bo Berglund - 10 May 2008 22:29 GMT
>>>The DOS Additions are also on the 2007 Additions ISO file, but they
>>>need to be extracted and manually set up, there is no batch file for
[quoted text clipped - 7 lines]
>Or you can just open the ISO in any Windows VM (capture ISO image) and copy
>the files out that way.

However, how can one then get them over to the guest???
AFAIK the only option at thta stage is the VFD.

Bo Berglund
emendelson - 11 May 2008 18:31 GMT
I've already done all the work of setting up a Win98 DOS disk that includes
Virtual PC file sharing. Instructions (and a download) here:

http://www.columbia.edu/~em36/wpdos/virtualpc.html#usedos

Networking between a DOS machine and an XP host is possible, but not really
practical. You can find prebuilt setup files for NetBEUI and TCPIP here:

http://www.columbia.edu/~em36/vpcdosnetworkfiles.zip

I haven't touched them since 2002, but presumably they'll still work.
I Green - 13 May 2008 20:15 GMT
Use a floppy to share files if you cannot get the VM additions to work.. The
console prompt in Windows 98 will work fine and it can be rebooted in DOS for
games. Windows 98 is supported as a guest OS wven with Virtual PC 2007.

Windows 3.11 etc is also not supported. WIndows 2000 up are all that are
recognized.

The oldest version of Windows we have tested in Windows 98 SE.

> Dear guys,
> My host is Windows XP Pro SP2
> and my guest is dos6.2 + win3.1
> How do I share files between the host and the vm?
> Thanks
> Jack
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.