Einzelnen Beitrag anzeigen

dR4g0N
(Gast)

n/a Beiträge
 
#5

Re: DOS-Box mit Parametern öffnen?

  Alt 21. Mai 2004, 15:52
hatte das mal irgendwo gesehen. vlt hilft es dir ja weiter:

Delphi-Quellcode:
uses ShellApi, SysUtils;

ShellExecute(Application.Handle, 'open', PChar(SysUtils.GetEnvironmentVariable('COMSPEC')),
PChar('/C dir c:\*.txt'), nil, SW_ShowNormal);
  Mit Zitat antworten Zitat