All Forums >> [Scripting] >> Post a VBScript >> Detach and re-attach floppy drive to all virtual servers Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
I use MS Virtual Server R2 at the moment, but copying files between the host and from the virtual machines is difficult when you configure the servers to use their own private network (invaluablle when tinkering with DNS setups).
One way to copy small files is to link the server's floppy drive to the one on the host PC. I don't have a floppy drive on my laptop, but I use Ken Kato's Virtual Floppy Drive for Windows 2.1 which works really well. However, once you've accessed the files on the virtual machine, the host can no longer access the drive. I don't know if this only happens with VFD or with physical drives too, but I've written a VBScript program to detach and re-attach the drive on all the installed virtual servers. There's bound to be a better way of doing this, but I thought I'd share it anyway.
It also demonstrates how to re-invoke your script with a specific engine.