Thanks for your help,
I ended up writing the commands to a batch file and then running it, it solved the problem for what I needed to do.
Thankyou for your responses, I am sure they will help me in future projects!
kr0me
Hi,
I am trying to execute a command using delphi, as if I had typed it into the windows command prompt.
I am using this code to do it:
function OpenCmdLine(const CmdLine: string;
WindowState: Word): Boolean;
var
SUInfo: TStartupInfo;
ProcInfo: TProcessInformation;
begin
{ Enclose...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.