[Delphi (Object Pascal)] Delphi 根据磁盘序号返回磁盘的根目录名 →→→→→进入此内容的聊天室

来自 , 2019-09-06, 写在 Delphi (Object Pascal), 查看 100 次.
URL http://www.code666.cn/view/86b3e165
  1. function DriveRootPath(const DriveNum: Byte): string;
  2. begin
  3.   if DriveNum in [0..25] then
  4.     Result := Char(DriveNum + Ord('A')) + ':\'
  5.   else
  6.     Result := '';
  7. end;

回复 "Delphi 根据磁盘序号返回磁盘的根目录名"

这儿你可以回复上面这条便签

captcha