running interactive 4NT commands from java

N

nanda

Hi
I have to do the following from a java application

Run a command in windows 4NT prompt which prompts for 4 arguments one
after another
My problem is that I cant give all the 4 arguments at once
I have to give the arguments one by one basing on the request
So I need something like this

[c:\] createsystem.cmd
Enter your system name: adsfdsf
Enter your id : abce
Enter your location : sadfdsf
Enter your country : fdsafds

I should be able to run this command and pass the required arguments
from an input file

I wonder how this can be done.

Any help would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top