unit ShortPath;
//
//                    引用单元原型                        //
//                      haiou327                         //
//                                        20090701      //
/interfaceuses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;
//  1       过程和函数声明部分
Function CoverShortPath(LongPath:string):string;implementation
// 函数实现部分                       函数原型
Function CoverShortPath(LongPath:string):string;
begin
result:='';
GetShortPathName(Pchar(LongPath),Pchar(LongPath),LengTh(LongPath));
result:=LongPath;
end;
end.
  • 阿里云国际版折扣https://www.yundadi.com

  • 阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6