Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2006 Nov : How to execute Dos Command dcc32.exe from Delphi application.
| Subject: | How to execute Dos Command dcc32.exe from Delphi application. |
| Posted by: | "Bijal" (bijalsa..@rediffmail.com) |
| Date: | Wed, 22 Nov 2006 18:46:42 +0530 |
Hi,
I want to execute Dos command from my Delphi win32 application
The Dos command that shoud automate installer, i mean i need to install
package form delphi win32 application.
In groups i read about WinExec,ShellExecute and CreateProcess.
But as a newbie don't know properly which to use and how to use.
as i can execute dcc32.exe c:\.. Path -B, genrates .bpl as required.
Now the problem is how to incorporate and execute this command from
application.
I tried WinExec('command.exe', sw_Normal);
But this displays command prompt, my requirement is i want to execute
complete command "dcc32.exe C:\.... path\Project1
C:\.....path\Project1\Package1\Pavkage1.dpr -B".
Looking for ur Valuable guidence.
Thanks in advance.
With Regards,
Bijal...