Delphi7 打开 Windows 资源管理器转到文件夹并选中指定文件

时间:2015-01-29 19:07:02   收藏:0   阅读:1384

Delphi7 打开 Windows 资源管理器转到文件夹并选中指定文件.

var
  strFilePath: string;
begin
  ShellExecute(Handle, open, PChar(explorer.exe), PChar(/select, + strFilePath), nil, SW_NORMAL);
end;

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!