I want to execute the following line without showing the prompt window in no way.
ShellExecute( Self.Handle, 'open', PChar( 'C:\WINDOWS\COMMAND\COMMAND.COM' ),
PChar( '/C DIR > ANYFILE.TXT'),
How could I do this?
P.S. I've used all combinations of SW_HIDE or SW_* and none of them give the result i'm looking for.