-robert
"Rob" <bobh...@hotmail.com> wrote in message
news:7rfsn05cc3c98fler...@4ax.com...
http://blogs.msdn.com/virtual_pc_guy/archive/2004/10/21/246136.aspx
--
Cheers,
Benjamin Armstrong
===============================
Virtual machine Program Manager
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
I'm trying to copy the VMadditions from DOS under an emulated CDROM
and it cannot copy any of the files to my VHD. It appears all the
files like cdrom.sys, idle.com, etc are in lower case. Could that be
the problem?
"Rob" <bobh...@hotmail.com> wrote in message
news:iootn051kn4cvtsdv...@4ax.com...
In order to use a cd-rom under DOS, you also need to have MSCDEX.EXE
configured in your autoexec.bat.
You also should be using the "DOS Virtual Machine Additions.vfd"
instead of the ISO VPC Additions.
All the info you need is in the VPC help...
"Virtual Machine Additions for MS-DOS
Virtual Machine Additions for MS-DOS contains four files: Fshare.exe,
Cdrom.sys, Idle.com, and Mouse.com. These four files are installed to
a VmAdds folder on the C: drive of the virtual machine. The virtual
machine's Autoexec.bat and Config.sys files will be modified to use
the new files. The files provide the following functionality:
Fshare.exe — makes it possible to use shared folders between your DOS
virtual machine and the host operating system.
Cdrom.sys — provides support for the Virtual PC 2004 emulated CD
drive.
Idle.com — allows Virtual PC 2004 to detect when a DOS virtual machine
is idle or inactive and will automatically cycle down CPU usage on the
host operating system.
Mouse.com — provides mouse functionality.
For CD access in a DOS environment, the Mscdex.exe file is also
required. It is available with most versions of DOS. Additionally, the
following line needs to be added to the Autoexec.bat file for CD
functionality:
X:\mscdex_dir\mscdex.exe /D:idecd001 /L:E
Where X:\mscdex_dir is the drive and directory location of Mscdex.exe.
For example, if Mscdex.exe is located in the DOS directory on the C:
drive, the correct syntax would be as follows: C:\DOS\mscdex.exe
/D:idecd001 /L:E. The /D:idecd001 name must match the name provided in
the Config.sys file. The default CD name provided by DOS Virtual
Machine Additions is Idecd001.
Installing Virtual Machine Additions for MS-DOS
You can perform a standard installation or a manual installation of
Virtual Machine Additions for MS-DOS. By using the following details
about a manual installation, you also can write a batch file that you
can use to perform an unattended installation. For instructions about
how to perform a standard installation, see To install Virtual Machine
Additions for MS-DOS.
Locate the Virtual Machine Additions for MS-DOS® virtual floppy disk
(DOS Virtual Machine Additions.vfd) on the installation CD. To install
Virtual Machine Additions for MS-DOS, do the following:
Start a virtual machine that is running a Windows operating system.
In the virtual machine window, log on to the guest operating system as
Administrator or a member of the Administrators group.
On the Action menu of the virtual machine, click Install or Update
Virtual Machine Additions. If you are unable to move the mouse pointer
to the Action menu, press the host key to release the mouse pointer
from the virtual machine window.
When prompted for confirmation, read the information, and then click
Continue.
When the Virtual Machine Additions InstallShield Wizard opens, click
Cancel, and then click Yes.
Double-click My Computer, right-click the CD drive icon, and then
click Open.
Copy the contents of the DOS folder to a floppy disk.
Start the virtual machine that has MS-DOS installed on it, and then
copy the contents of the floppy disk to the virtual machine.
After the contents of the floppy disk are on the virtual machine, do
the following to install Virtual Machine Additions for MS-DOS:
Mouse.com
This is the MS-DOS mouse driver for use with Virtual PC. It can be
loaded at any time by running Mouse.com. This file should be copied to
a known location on the virtual hard disk and a startup line should be
added to to the Autoexec.bat file, for example, C:\VmAdd\Mouse.com
Idle.com
This file is a utility that will stop MS-DOS from using 100% of the
CPU cycles when it is idle. It can be loaded at any time by running
Idle.com. This file should be copied to a known location on the
virtual hard disk and a startup line should be added to to the
Autoexec.bat file, for example, C:\VmAdd\Idle.com.
Note
This utility will not prevent MS-DOS from using 100% of the CPU if you
start a program.
Cdrom.sys
This file is the MS-DOS CD-ROM driver. It should be copied to a known
location on the virtual had disk. To access the CD-ROM under MS-DOS
you will need to load this driver in the Config.sys file; for example,
device=C:\VmAdd\Cdrom.sys /D:idecd001 /L:E where /D: is the name of
the CD device and /L: is the drive letter to use. You will also need
to load Mscdex.exe in the Autoexec.bat file; for example,
C:\DOS\Mscdex.exe /D:idecd001 /L:E /M:8 where /D: is the name of the
CD device, /L: is the drive letter to use, and /M: is the number of
buffers to use. For more information about Config.sys and
Autoexec.bat, see the documentation included with DOS.
Fshare.exe
This file is the MS-DOS shared folder driver for use with Virtual PC.
It can be loaded at any time by running Fshare.exe. This file should
be copied to a known location on the virtual hard disk and a startup
line should be added to the Autoexec.bat file, for example,
C:\VmAdd\Fshare.exe.
Important
To work correctly, the lastdrive variable must be defined in the
Config.sys file, for example, lastdrive=z.
"
Steve Jain, Microsoft MVP for Virtual PC for Windows
Website: http://www.essjae.com
*** All posts are provided AS-IS, no warranty, no QoS ***