Board index » delphi » Execute DOS Command?

Execute DOS Command?

Who can one execute a DOS command from within a DELPHI program?

Thanks,

Lon D. Varscsak
smart...@enet.net

 

Re:Execute DOS Command?


Quote
smart...@news.enet.net (Smart Practice) wrote:

> Who can one execute a DOS command from within a DELPHI program?

> Thanks,

> Lon D. Varscsak
> smart...@enet.net

Someone in comp.lang.pascal.misc should be able to help you.
c.l.p.b is for TPW, BP, TP issues
c.l.p.m to be sed for Delphi, and other discussions

Happy Hunting
James :-)

Re:Execute DOS Command?


In article <3tek36$...@pinyon.enet.net> (5 Jul 1995 11:02:14 -0700), Smart Practice (smart...@news.enet.net) wrote:

: >Who can one execute a DOS command from within a DELPHI program?

Program ExecDOS;

Uses
WinTypes, WinProcs;

begin
  WinExec('EDIT.COM', sw_Normal);
end.

The Chief
---------
Dr. A{*word*73}la A. Olowofoyeku (The African Chief)
E-mail   : la...@keele.ac.uk
Author of: Chief's Installer Pro 1.70 for Windows:
           winner of PC PLUS Magazine Gold Award (April 1995 U.K. edition)
           ftp://ftp.demon.co.uk/pub/ibmpc/windows/chief/pro/cinstp17.zip

Other Threads