There is a Ruby file called ABC (for eg). Now this file is called from a Batch file called Batch.bat.
So I would run the Batch file like this:
Batch.bat ip username password.
Now the process goes to Ruby console and provides output as a file system:
0 /
1 10.160.165.86/
Now User must provide inputs as:
10.160.165.86/Computers/Data
so it move to that location and run one more command :
[Eg: O/P]: 10.160.165.86/Computers/Data > some_command
Is there a way to automate the user input process using Batch script or using Process Class in Java?