batch file to applescript help

Discussion in 'Mac Programming' started by synne, Jun 17, 2009.

  1. macrumors newbie

    Dec 19, 2008
    Hi Im new to my macbook and am learning what I can without having to install windows as a virtual PC or as a dual boot.

    I have a download for a game I am trying to play and it contains a batch file and a java file. The batch file is very short but I havnt figured out how to convert it to an applescript file to run my java based game. Any help would be appreciated... I keep getting identifier and character errors and suspect I havnt even got the basics down.

    The batch file is:

    @echo off
    java -cp storkpkclient.jar a.a.a.c
    Thats it, looking in the same folder for the java file. Can someone help me with this?
  2. Moderator emeritus


    Aug 16, 2005
    do shell script "java -cp storkpkclient.jar a.a.a.c"

Share This Page