Delphi work

 Components
 Explorer Bar
 DelphiX for Delphi 7
 DosCommand
 Line

 Programs
 PC Remote
 Matrix screen saver
Music
 Music browser
 HTML Cover
(winamp plugin)

Autorun
 Autorun
 Gatherer
 Autorun creator
Games
 LoGiK
 Minesweeper
 Solitaire
 Le compte est bon
Progs in french
 Tetris
 Boggle
 Classieux


More

 Popularity
 E-mail
 Links


TDosCommand 2.0

Execute a DOS program or batch file et get outputs (text in the console) via an event OnNewLine(Sender: TObject; NewLine: string; OutputType: TOutputType). You do not need to wait the end of the execution to get outputs, you get it line by line. You can also send text to console input via the procedure SendLine(Value: string; Eol: Boolean). Published on Torry's Delphi Pages


 Downloads (Updated Jul, 2001) :
FileSize
Sources (Delphi 5)    doscommand.zip    6 kb
modified version (by Take)
found on RDE website.    
doscommand_tk.zip    8 kb

 Features :
  • Close the prog after xxx sec of execution or inactivity,
  • Catch the beginning of the line : if the prog ask for a response, you can see the beginning of the line,
  • send automatically outputs to a TMemo, un TRichEdit, un TListBox, ...
  • addition from Martijn van der Kooij of the property IsRunning to know if the thread is currently running.


www.maxx.fr.st
Maxx's delphi site. Webmaster : mc.
Online since Oct, 2002. Last updated March 5, 2003.
Hosted by free.fr. Audited by xiti, eStat, NedStat. Redirected by Ulimit.com.