RosettaCodeData/Task/Execute-a-system-command/Delphi/execute-a-system-command.delphi
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

9 lines
147 B
Text

program ExecuteSystemCommand;
{$APPTYPE CONSOLE}
uses Windows, ShellApi;
begin
ShellExecute(0, nil, 'cmd.exe', ' /c dir', nil, SW_HIDE);
end.