TCC-RT > Variables & Functions > Functions > @SERIAL


<< Click to Display Table of Contents >>

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


@SERIAL[d:]:  Returns the serial number of the specified disk drive (in hex, i.e.: ABCD:0123). The drive letter must be followed by a colon.


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




echo %@serial[C:]



echo %@serial[%_disk:]



See also: @LABEL.