delphi 打开文件夹并定位到一个文件

来源:互联网 发布:linux msdos 编辑:程序博客网 时间:2024/06/05 00:22
  strFileName := FcxLV[nIndex].Items.Item[FcxLV[nIndex].ItemIndex].SubItems.Strings[0]; //路径
  ShellExecute(0, nil, PChar('explorer.exe'),PChar('/e, ' + '/select,' + strFileName), nil, SW_NORMAL);
原创粉丝点击