Results 1 to 1 of 1
  1. #1
    Riftwalker is offline Member
    Join Date
    Jul 2007
    Rep Power

    Default [SOLVED] Varables in the script command

    I was able to solve this problem myself. Thanks.

    Hello. The question I have is this:

    I created a program to parse through files and summarize certain information and then output it into a new file. Well the person I created this program for wants to create a shell to run a bunch of files through it. Right now you call the program (java -jar Program.jar) and then it prompts for you to enter the file.

    What I need to know is could you write the program so that you could make a call like:

    java -jar Program.jar $filename

    And make it so that the file the program uses is in the run script command?

    Last edited by Riftwalker; 10-01-2008 at 08:27 PM. Reason: Solved the problem before responses.

Similar Threads

  1. Running a script within IE
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-25-2008, 02:33 PM
  2. Sample ANT Script
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-24-2008, 03:22 PM
  3. JSP redirection script
    By ravian in forum New To Java
    Replies: 1
    Last Post: 01-07-2008, 10:33 AM
  4. Unable to execute command line command in java
    By LordSM in forum New To Java
    Replies: 1
    Last Post: 08-08-2007, 12:23 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