How to execute a batch file located on Windows remote system? Batch file should run on remote system.
3 Answers
Abhinav, For your problem I see RMI is the quickest possible solution
1 Comment
Abhinav Garg
I know this server method and also used this before but i want to do this without server
You can use Jsch and Expect4j for executing commands on remote machine(window/Linux). Further more, if your system allows, transfer the batch file on remote machine using some FTP utility like Apache Commons Net and then execute commands that executes the script.