@DRIVETYPEEX |
@DRIVETYPEEX[drive] : Return the type for the specified drive:
0 | The drive type cannot be determined |
1 | The root path is invalid (no volume is mounted at the path) |
2 | Removable disk |
3 | Fixed disk |
4 | Remote (network) drive |
5 | CD-ROM |
6 | RAM disk |
7 | DVD |
8 | Tape |
Examples:
echo %@drivetypeex[c:]
3
echo %@drivetypeex[z:]
4
echo %@drivetypeex[e:]
7