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

Discussion in 'Java' started by jlc488, Jan 20, 2005.

  1. jlc488

    jlc488 Guest

    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~~
    jlc488, Jan 20, 2005
    #1
    1. Advertising

  2. Andrew Thompson, Jan 21, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DB
    Replies:
    2
    Views:
    1,420
    Eliyahu Goldin
    Jun 22, 2005
  2. Ben Fairbank
    Replies:
    2
    Views:
    5,452
  3. john san
    Replies:
    19
    Views:
    739
    Diez B. Roggisch
    Feb 18, 2005
  4. Arjun
    Replies:
    5
    Views:
    406
    Arjun
    Nov 6, 2006
  5. news.microsoft.com

    WScript.Shell to execute Ms-DOS commands?

    news.microsoft.com, Dec 8, 2003, in forum: ASP General
    Replies:
    2
    Views:
    225
    news.microsoft.com
    Dec 9, 2003
Loading...

Share This Page