View Single Post
  #8  
Old 07-17-2008, 01:24 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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
Reply With Quote