[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 44.392::delphi_in_dec

Title:Borland Delphi conference
Moderator:BROUGH::DAVIES
Created:Tue Mar 12 1996
Last Modified:Fri May 30 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:33
Total number of notes:110

25.0. "command-line execution" by 21270::NET_ESPINHA () Thu Mar 06 1997 21:41

    Hi everybody,
    
    I would like to get some info about a DELPHI/PASCAL command to execute
    a command line, so as system command does in C. The goal is to run a
    dos or windows backup application from within Delphi code.
    
    Thanks a lot.
    
    Best regards,
    
          Gustavo Queiroz
T.RTitleUserPersonal
Name
DateLines
25.1MARVIN::GOODWINPete GoodwinFri Mar 07 1997 15:026
    Which version of Delphi? V1 (16 bit) or V2 (32 bit)?
    
    In Delphi 1.0, I'd imagine ShellExecute might be useful. Similarly in
    Delphi 2.0, however CreateProcess is better on Windows 95/NT.
    
    Pete