Are you sure that ShellExecute knows what to do with ">" and "2>&"? Those characters are interpreted by cmd.exe, so you have to run psexec through cmd.exe.
Are you sure that ShellExecute knows what to do with ">" and "2>&"? Those characters are interpreted by cmd.exe, so you have to run psexec through cmd.exe.
Bookmarks