Virtual PC Additions in Dos

Discussion in 'Virtual PC' started by junk7of9, May 15, 2004.

  1. junk7of9

    junk7of9 Guest

    How do you load Virtual PC Additions in a Virtual PC
    running MS-DOS 6.22? I click on Action -> Install or
    Update Virtual PC Additions, Click on Continue at the
    next window, and then nothing else happens.
     
    junk7of9, May 15, 2004
    #1
    1. Advertisements

  2. You will find the floppy in the Additions folder under
    \Program Files\Microsoft Virtual PC\. You can drag and
    drop the floppy onto the virtual floppy drive.
    Then just run the program. You may have to disable the
    folder sharing since it is not compatible with EMM386.
     
    Colin Barnhorst, May 15, 2004
    #2
    1. Advertisements

  3. junk7of9

    junk7of9 Guest

    Not sure what you mean by a "virtual" floppy and the file
    is to big for a floppy drive. Even so, the file isn't an
    executable (exe, com, bat) so how do you "run" a *.vfd
    file?
     
    junk7of9, May 16, 2004
    #3
  4. junk7of9

    Steve Jain Guest

    A .vfd is a virtual floppy diskette, its like an IS, which is a
    'virtual cd-rom disc', right? You mount a .VFD by dragging and
    dropping it on the floppy icon in the icon tray for the VPC guest
    you're using.

    Once its mounted, inside of the VM, you access the A: drive and run
    the batch file.

    Its all in the VPC help too...(see below)

    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
     
    Steve Jain, May 16, 2004
    #4
  5. junk7of9

    junk7of9 Guest

    Thanks for the reply. Very complete. Installed the
    additions successfully. One issue remains. When the
    Fshare.exe program executes, dos returns the error
    message "ERROR: Folder sharing is not supported on this
    host". How do I fix this one?
     
    junk7of9, May 16, 2004
    #5
  6. junk7of9

    Robert Comer Guest

    fsare is incompatible with emm386.sys, comment the emm386.sys out and it
    should work.

    - Bob Comer


    Thanks for the reply. Very complete. Installed the
    additions successfully. One issue remains. When the
    Fshare.exe program executes, dos returns the error
    message "ERROR: Folder sharing is not supported on this
    host". How do I fix this one?
     
    Robert Comer, May 16, 2004
    #6
  7. junk7of9

    Robert Comer Guest

    Er, that's fshare, not fsare...

    - Bob Comer


     
    Robert Comer, May 16, 2004
    #7
  8. junk7of9

    junk7of9 Guest

    Okay, thanks. That's a big help. For most of the time I
    plan to leave it on, but now I know how to make folder
    sharing work if I need to.
     
    junk7of9, May 19, 2004
    #8
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.