1,183
社区成员
发帖
与我相关
我的任务
分享
{ File attribute constants }
faReadOnly = $00000001 platform;
faHidden = $00000002 platform;
faSysFile = $00000004 platform;
faVolumeID = $00000008 platform;
faDirectory = $00000010;
faArchive = $00000020 platform;
faSymLink = $00000040 platform;
faAnyFile = $0000003F;
if FileGetAttr('文件名') = faSymLink then
begin
ShowMessage('是快捷方式');
end;
if FileGetAttr('文件名') = faSymLink then
begin
ShowMessage('是快捷方式');
end;