Results 1 to 2 of 2
  1. #1
    Vipul03 is offline Member
    Join Date
    Feb 2010
    Rep Power

    Question java command line arguments


    I want to give command line arguments in java programming as like

    ls -l -a

    for unix system

    My problem is where i want user to give multiple files and give a depth in the given way

    java elecutableClass -d=4 filenames

    to run a program where -d is assigned to a special variable meant for this purpose rather than args.

    For any help thanks in advance

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Rep Power

Similar Threads

  1. Command Line Arguments
    By Nakira in forum NetBeans
    Replies: 10
    Last Post: 02-04-2010, 04:45 PM
  2. arguments in command-line
    By girlet18 in forum New To Java
    Replies: 2
    Last Post: 01-21-2010, 03:05 PM
  3. Command line arguments help
    By may88 in forum New To Java
    Replies: 8
    Last Post: 12-08-2009, 02:20 PM
  4. [SOLVED] command line arguments using IDE
    By sandeepsai39 in forum New To Java
    Replies: 5
    Last Post: 03-12-2009, 08:19 AM
  5. Java Command Line Arguments In Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-19-2007, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts