如何做到查找目标文件并选中?(100分)

S

sowen

Unregistered / Unconfirmed
GUEST, unregistred user!
<br>&nbsp; &nbsp; 我已经被一个问题困扰了几天了,请问这样的功能应该如何实现<br>&nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp;我已经知道一个文件比如 c:/windows/1.txt 现在需要打开一个文件浏览器,这个浏览器打开 c:/windows 这个目录,并选中 1.txt 这个文件。 就好像快捷方式属性里那个查找目标那样,应该如何实现呢?<br>&nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp;谢谢 <br>
 
WinExec(pchar('explorer &nbsp;/n,/e,c:/**/**.doc,/select'),SW_SHOW);<br>
 
哈哈,我就是说应该有参数可以实现!可就是找不到
 
顶部