Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2006 Jun : Command doesn't work from Delphi
| Subject: | Command doesn't work from Delphi |
| Posted by: | "Jon Jacobs" (jonjaco..@comcast.net) |
| Date: | 27 Jun 2006 05:12:48 |
I have tried many variations of:
ShellExecute(Handle, nil, 'cmd.exe /k MKDIR Clean', nil, nil, SW_HIDE);
with or without /k (what is it for anyway) and distributing the parameters in various ways. It works fine manually in the cmd prompt, but not with shell execute (or WinExec either).
What does it take to make this work?
Thanks,
Jon