PsExec does sometimes have trouble writing to standard output (that's why the PsExec call constructed when using the Remote tab always redirects to a file). You could either:
1) Change the Command to
cmd /c psexec \\%REMOTE_SVR% cmd /c "cacls %ABSOLUTE_PATH_TO_SOME_DIR% /T /E /G ASPNET:R">%TEMP%\psexec.out
and Read program output from A file %TEMP%\psexec.out
or
2) Use a Command of
cacls %ABSOLUTE_PATH_TO_SOME_DIR% /T /E /G ASPNET:R
and put %REMOTE_SVR% in the Computer field on the Remote tab
|