a question is:Since you know how codes work, maybe you know:imagine I have 2 drive letters, C: D:, for one harddisk,when C: flushed, does it mean all harddisk (hence its attached letters ) flushed ?answer either yes or no
No. Data held in cache is by drive letter, not harddisk.
I may be able to code something so that other drive letters on a harddrive are enumerated and flushed. That's what you're after, right?
I found a function here that I should be able to use to do what you suggest: http://www.autoitscript.com/forum/topic/91598-get-disk-number-from-drive-letter/#entry659721