@DRIVETYPE[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 |
Examples:
echo %@drivetype[c:]
3
echo %@drivetype[z:]
4
echo %@drivetype[e:]
5