BlueOrange Posted January 10, 2010 Share Posted January 10, 2010 Ok, i currently have the snippet below. I'm meant to be running a .jar through the command line (if theres a better way to do it with autoit then please let me know ) Cd's to the directory Then runs the file. But unfortunately does nothing, so a little help would be appreciated $directory = "C:\Users\Ben\Desktop\KBOT" $versionnumber = "KbotObf-B377.jar" Run(@ComSpec & " /c " & 'cd' & $directory, "", "") Run(@ComSpec & " /c " & 'java -jar' & $versionnumber, "", "") Link to comment Share on other sites More sharing options...
BlueOrange Posted January 11, 2010 Author Share Posted January 11, 2010 Not to worry, I've solved my problem with a bit more searching. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now