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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top