unit Unit1;<br><br>interface<br><br>uses<br> Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,<br> Dialogs, StdCtrls, ShellAPI;<br><br>type<br> TForm1 = class(TForm)<br> Button1: TButton;<br> Label1: TLabel;<br> Edit1: TEdit;<br> procedure Button1Click(Sender: TObject);<br> <br> private<br> { Private declarations }<br> public<br> { Public declarations }<br> end;<br><br>var<br> Form1: TForm1;<br><br>implementation<br><br>{$R *.dfm}<br><br>procedure TForm1.Button1Click(Sender: TObject);<br>begin<br><br>ShellExecute(handle,'open','notepad.exe',nil,nil,SW_ShowNormal);<br><br>end;<br><br><br><br>end.