As the title says.
In similar programs, the disk type is obtained by traversing all drives:
For Each disk In disks
……
Next
My question is:
How can I directly get the disk type?
If current drive type<>1 (if ... then statement) [This is what I'm asking about]
display "The current drive X:\ is not a removable drive; please run this program from a removable drive"
exit the program
end the judgment (End If)
In similar programs, the disk type is obtained by traversing all drives:
For Each disk In disks
……
Next
My question is:
How can I directly get the disk type?
If current drive type<>1 (if ... then statement) [This is what I'm asking about]
display "The current drive X:\ is not a removable drive; please run this program from a removable drive"
exit the program
end the judgment (End If)
