Hi Gopal, Just to add I was tried below to run a command on CMD and capture output but this doesn't work and my process stops responding. Eventually my aim is once this works, i want to invoke a java class with cmd and wait for its execution to finish and capture the output from cmd.
------------------------------
Mayank Goyal
------------------------------