Question and Answer Database FAQ753D.txt Opening an explorer window to a given folder Category :Windows API Platform :All Product :All 32 bit Question: How can I open an explorer window to a given folder? Answer: A) The following example opens a explorer window containing the contents of the Windows directory. Example: uses ShellApi; procedure TForm1.Button1Click(Sender: TObject); begin ShellExecute(0, 'explore', 'C:\WINDOWS', nil, nil, SW_SHOWNORMAL); end; 7/16/98 4:31:28 PM
Last Modified: 01-SEP-99