Need help with delphi!


From my program I execute a dos command ( for example "net share soft=d:appz" ):
ShellExecute(Handle, 'open', PChar( 'cmd' ),PChar( /c net share soft=d:appz ),nil, SW_HIDE);

my question:
how can I read the answer from cmd ( for example "file was shared successfuly" )???
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories