How can I detect if a local drive is no longer busy (i.e., writing data)?
Specifically, I'm talking about my USB Zip drive. I've written a
program that backs up the kids' personal folders in one big swoop
(right now, their combined byte size of data is appr. 69MB). The reason
I need to know if the drive is no longer busy is so I can run a
directory/files sorter on the ZIp diskette after backing up those MANY
files. I use xcopy32 to copy the direcotry/file structure in one
pass with a SHELL statement. Unfortunately, as soon as the SHELL
statement has completed, the sorting program TRIES to run. I *could*
but a SLEEP statement after the SHELL, BUT, that'd be pretty sloppy
programming <grin>.
Any ideas?
Thanks in advance!
------------------
Clay C. Clear
http://www.v3space.com/a/a39/202/
[email protected]
Specifically, I'm talking about my USB Zip drive. I've written a
program that backs up the kids' personal folders in one big swoop
(right now, their combined byte size of data is appr. 69MB). The reason
I need to know if the drive is no longer busy is so I can run a
directory/files sorter on the ZIp diskette after backing up those MANY
files. I use xcopy32 to copy the direcotry/file structure in one
pass with a SHELL statement. Unfortunately, as soon as the SHELL
statement has completed, the sorting program TRIES to run. I *could*
but a SLEEP statement after the SHELL, BUT, that'd be pretty sloppy
programming <grin>.
Any ideas?
Thanks in advance!

------------------
Clay C. Clear
http://www.v3space.com/a/a39/202/
[email protected]
Comment