PAexec - Trying to copy files and run a bat file on remote server

Viewed 0

Hi,

I'm running this script:

set RUN_DIR=C:UsersAdministratorDesktopMonitoring_Tools

%RUN_DIR%paexec.exe @Servers_List.txt -u user -p password -c -clist %RUN_DIR%Files_List.txt -s %RUN_DIR%test.bat

I would like to copy Files_List.txt (files specify in it, including test.bat as the first one) to Servers_List (list of servers) as well to run test.bat.

First, I'm getting this error: One or more source files were not found. Try -csrc or -clist?

Second, not clear how to control the destination folder to copy the files to.

Thanks in advance, Lavi

0 Answers
Related