copy file to floppy disk

  • Thread starter Thread starter cfyam
  • Start date Start date
C

cfyam

When my app copy some files to floppy disk, how can to determine the time to
show the message to inform user to take the disk off?
 
I am not sure you can reliably determine when it's about time, well, unless
you are interfacing to the low-level device driver - and here's why. While
you can reliably determine that the file has been copied by the system (it's
the time instance the Copy method returns), it does not necessarily mean the
data have been actually written to the disk (caching issues step in), and
that the drive is ready to eject the disk. You probably know you shouldn't
eject the disk while the LED on the drive is turned on - and I am in doubt
it is easily possible to determine the state of the LED programmatically.
 

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

Back
Top