Disable Floppy Drive via Command Line

J

jason

Is there a command to disable/enable the Floppy Drive via
the command line?

You can do this manually through the Device Manager by
right clicking the Floppy Drive and selecting disable or
enable depending on the state of the floppy drive.

I would like to include this in a small batch file to turn
it on or off. I am operating a Virtual OS and at times the
floppy drive does not refresh. Meaning that if I insert a
second disk the contents of the first disk is still
displayed. The work around is to disable/re-enable the
floppy drive via the device manager.

If there is such a command line can this be used for the
CD-ROM as well?

Thanks
 
M

Michael Bednarek

Is there a command to disable/enable the Floppy Drive via
the command line?

You can do this manually through the Device Manager by
right clicking the Floppy Drive and selecting disable or
enable depending on the state of the floppy drive.

I would like to include this in a small batch file to turn
it on or off. I am operating a Virtual OS and at times the
floppy drive does not refresh. Meaning that if I insert a
second disk the contents of the first disk is still
displayed. The work around is to disable/re-enable the
floppy drive via the device manager.

If there is such a command line can this be used for the
CD-ROM as well?

The DevCon utility might be able to do that. See:
<http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272>.

It's one of the more complicated command line utilities.
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Top