Launch notepad with a file loaded
2006-11-06 09:52:51
With the next code you'll be able to open a notepad window with your file of choice, windows.ini in the example. Remember to use the full locator if the file is not within the same directory as de program.
procedure TForm1.Button1Click(Sender: TObject);begin
WinExec('notepad windows.ini',SW_SHOWNORMAL);
end;