I would like to know how to start a ".cmd file" or how to execute a "command" (--> like "start /wait %cdrom%\install\program.exe /switch" from when i click on a button ?
Let me explain:
I am making an application in Delphi 7 that would install all the programs that i want, all unattended. I want to use Delphi 7 because that's what i learning in college now, i need your help on this one because my teacher is just a dumb guy that want is paycheck at the end of the week, he is not really good either ,
Here is what happen when i click on the button
procedure TPost_Install.OkClick(Sender: TObject); begin ShowMessage('Post-Installation will install your selected applications); My problem is here--> How to call a file and execute it or execute a command ??? end;
And, the help file is no good too :/
Can you help me ?
Thanks to anyone that can help me