Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29073 Discussions

How can I tell if a drive is removable?

davidgraham
Beginner
347 Views
I am making the following call.
inquire (FILE=c80,EXIST=exists)
But if the file in c80 is d:.... where D is a removable disk I am getting the message
"There is no disk in the drive..."
Therfore how can I find if the drive is removable?
Thanks,
David
0 Kudos
1 Reply
davidgraham
Beginner
347 Views
I searched the supplied samples and found the command needed is:
GetDriveType
Regards,
David
0 Kudos
Reply