I am trying to read free space available on remote servers. I am using java and psexec for this. I have written code and am trying to invoke a batch file at the same time passing a variable to it. The batch file has psexec commands to determine the free space. I have 2 issues here.
1) when i am trying to invoke the batch file and pass server name as parameter, i get a message Error: ReadError
2) I am having trouble assigning the parameter that i am passing to a variable in the batch file.