/ Published in: TCL
Expand |
Embed | Plain Text
proc _driveLetters {} { # Return a list of mapped drive (volume) letters (in upper case). foreach drive [list a b c d e f g h i j k l m n o p q r s t u v x y z] { if {[catch {file stat ${drive}: dummy}] == 0} { lappend drives [string toupper $drive] } } return $drives }
You need to login to post a comment.
