<< Click to Display Table of Contents >>

Navigation:  TCC-RT > Variables & Functions > Functions >


@REMOVABLE[d:]:  Returns 1 if the specified drive is removable (e.g. floppy disk, removable hard disk, USB storage device, etc.), 0 otherwise. The drive letter must be followed by a colon.


If the argument is a partial filename without a drive, @REMOVABLE will expand the filename to get the drive.




echo %@removable[e:]



echo %@removable[%_disk]