http://www.delphi2007.net/DelphiVCL/html/delphi_20061225173448118.html
怎样用代码调用windows的explore.exe打开指定的文件夹。如c:\MyDoc,调用explore.exe后自动打开c:\MyDoc
WinExec('C:\Program Files\Internet Explorer\iexplore.exe d:\',SW_SHOW)
// 路过捡分
WinExec('explorer D:\', SW_SHOW);
uses ShellAPI;
ShellExecute(0, nil, 'D:\', nil, nil, SW_SHOW);
本文介绍如何使用Delphi代码调用Windows的资源管理器explore.exe来打开指定路径的文件夹,提供了使用WinExec和ShellExecute两种方法的具体实现。
415

被折叠的 条评论
为什么被折叠?



