(...) uses shellapi; (...) begin shellexecute(handle,nil,'notepad.exe',nil,nil,sw_shownormal); end; (...)