I would like to know how to run a DOS command and return it's output to a memo control on a form without spawning the DOS window.
form contains; edit box, button and memo control.
when I click the button the 'DIR' command is run for the directory given in the edit box. The result (file list or any error) is returned in the memo control.
the DOS window must not be shown.
should work for delphi 3 under Win 95/98.