Alan's Blog

"Yeah. I wrote a script that will do that."

Menu
  • About My Blog
Menu

Floppy Drive Settings for Virtual PC

Posted on November 16, 2011September 12, 2020 by Alan

Earlier I wrote about using WinImage to preserve floppy disk data.  In my continuing adventure with Windows 7 x64, I found that DOS programs will not run under x64.  What DOS program do I like to use?  The WordPerfect Editor from the WordPefect Shell.  (Curious?  You can get it here).  Why?  Because it allows you to easily replace formatting codes like TAB and NewLine.  It also permits macros.

I figured I would be able to run the WP Editor from a floppy image.  WinImage works with FileDisk to allow you to mount floppy images so they are available as drive letters within the Windows OS.  So I made the bootable floppy, injected the files I wanted, and went into Virtual PC to map the floppy image to the VM.  What I failed to notice was that Microsoft no longer shows the floppy drive in the Virtual PC UI.  Howerver, a search of the internet found that floppy drive assignments were still available programatically with Virtual PC.

Being a scripting guy, I decided to write a script that sets and clears floppy drive settings.  The result is SetVPCFloppy.vbs.  Some odd things about this script.  First, do not run it as an administrator.  If you do, the activex control throws a permission denied error.  Instead, run it with the permissions of the owner of the virtual machines.  Also remember that you will need to change the boot order in the virtual BIOS if you want to boot from the floppy.  Use the DELete key to enter BIOS setup.

Unfortunately, I discovered after all this work that the DOS virtual machines do not have the Virtual Machine extensions available.  I found some instructions as to how to do this, but the extension failed to work on my system.  When the Virtual Machine Folder Sharing begins to load I get “Folder Sharing is not supported on this host”.  As a result, I am unable to cut and paste into the DOS window and cannot share data.  A disappointing result.  If you have been able to get the extensions working, please share your experience.

Leave a Reply

You must be logged in to post a comment.

Search

Please Note

All the scripts are saved as .txt files. Newer files have a “View Script” button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use “Save Target As”. Rename file from Name_ext.txt to Name.ext.

To see a full post after searching, please click on the title.

PowerShell Scripts were written with version 3 or later.

https connections are supported.

All new users accounts must be approved, as are comments. Please be patient.  If you find a post error or a script which doesn’t work as expected, I appreciate being notified.  My email is my first name at the domain name, and you are welcome to contact me that way.

Tags

1E ACLS Active Directory ActiveDirectory ADSI Advanced Functions Audit Change Administrator Password COMObject Computer Groups DateTime Desktop DNS Excel FileScriptingObject Forms General GPO GPS Group Policy Hacks ISE Lockout logons NAV740 Nessus OU OU permissions Outlook Pick Folder Power PowerShell Powershell Scriptlets RDP SCCM schedule reboot Scripting Security Shell.Application user information VBA Windows Update WMI WordPress WPF

Categories

akaplan.com

  • Back to Home Page

Archives

Scripting Sites

  • A Big Pile of Small Things
  • Adam, the Automator
  • Art of the DBA
  • Ashley McGlone
  • Boe Prox
  • Carlo Mancini
  • DexterPOSH
  • Doug Finke
  • Jaap Brasser's Blog
  • JeffOps The Scripting Dutchman
  • Jonathan Medd's Blog
  • Keith Hill's Blog
  • LazyWinAdmin
  • Nana Lakshmanan
  • PowerShell Magazine
  • PowerShell Team Blog
  • PowerShell.org
  • PwrShell.net
  • Richard Siddaway's Blog
  • Ryan Yates' Blog
  • Skatterbrainz
  • The Lonely Administrator

SQL Site

  • Art of the DBA

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 Alan's Blog | Theme by SuperbThemes

Terms and Conditions - Privacy Policy