Search:

Type: Posts; User: fortune2k

Search: Search took 0.16 seconds.

  1. Replies
    4
    Views
    1,756

    Re: newbie start java program with switches

    ok say for instance i wanted to check if the password part of the starting argument was happy would i look in args[1] for example

    if (args[1].equals("password1234")){

    veriffy password ect...
  2. Replies
    4
    Views
    1,756

    Re: newbie start java program with switches

    please can someone point me in the right direction
  3. Replies
    4
    Views
    1,756

    newbie start java program with switches

    Hi Guys,

    Im working on an assignment for my school and for example i need to be able to excute my program from DOS adding switches in for example.

    java Main -e password input.txt output.text...
Results 1 to 3 of 3