I have a program right now that uses the "net use" command to access a shared drive on a network computer at my work. This works fabulously and I'm able to copy a file from the remote machine onto my own using the FileUtil library from apache. Now I'm wanting to run batch file located on the remote machine and I want it executed in that environment not my own local machine. At first I thought I could just use the "net use" command again with no problem but when I execute the batch file, it is run on my own machine not the remote one. However, this is not what I want to happen.
So, is anyone familiar with this process of executing batch files on remote machines. Better yet, from inside Java.
Thank you for any feed back I greatly appreciate it!