@DRIVETYPE[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

 

Examples:

 

echo %@drivetype[c:]

3

 

echo %@drivetype[z:]

4

 

echo %@drivetype[e:]

5