how do i execute ms-dos commands..on command prompts..

J

jlc488

hello everyone...
i was wondering...i want to make a small program which execute some
commands on dos prompts...
for example...
i have a jar file called a.jar..and is placed on c drive..
and there is a file called a.txt..
i want to make a program which add the a.txt to the jar file...
updating command is
jar uf a.jar c:/a.txt
by typing above on the command line manually..it works..
but i wanna do it trough a program...
any ideas~~plz~~
thnks to read~~
ciao~~
 

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

Forum statistics

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

Latest Threads

Top