Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > running interactive 4NT commands from java

Thread Tools

running interactive 4NT commands from java

Posts: n/a
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.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Interactive Commands Ferruccio Vitale Java 4 03-25-2005 09:38 AM
Interactive/Non-interactive ASPX ? WJ ASP .Net 2 02-26-2005 02:54 AM
non Interactive and Interactive AAH Computer Support 0 01-09-2005 04:09 PM
Interactive and non interactive AAH Computer Support 1 01-09-2005 04:01 PM
Python or 4NT? With a question or two about popen() Robin Siebler Python 6 09-13-2004 08:55 PM