@DRIVETYPEEX[drive] : Return the type for the specified drive:

 

0The drive type cannot be determined
1The root path is invalid (no volume is mounted at the path)
2Removable disk
3Fixed disk
4Remote (network) drive
5CD-ROM
6RAM disk
7DVD
8Tape

 

Examples:

 

echo %@drivetypeex[c:]

3

 

echo %@drivetypeex[z:]

4

 

echo %@drivetypeex[e:]

7