Getting the Name of the Boot Volume |
|
function getBootVolume
if "Win" is in platform() then
set itemDel to "\"
put item 1 of tempName() into tVolume
end if
if "Mac" is in platform() then
put line 1 of the volumes into tVolume
end if
return tVolume
end getBootVolume
Posted 3/12/2002 by Scott Rossi to the XTalk List Modified 1/3/2008 by Ken Ray with help from Russell Martin