ShellExecute (Delphi 7 Personal)

Posted by Joey on May 01, 2003:

I tried making it so that when i clicked a button it did the shellexecute command:
ShellExecute(Handle, 'open', PChar('command.com'), PChar('/c copy file1.txt file2.txt'), nil, SW_SHOW);

But it says that ShellExecute is undefined... How do i get round this???


Related Articles and Replies:

[ DelphiLand FAQ ]