Sign in to follow this  
Followers 0
BlueOrange

Run and command line help

2 posts in this topic

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 :evil:

$directory = "C:\Users\Ben\Desktop\KBOT"
$versionnumber = "KbotObf-B377.jar"
Run(@ComSpec & " /c " & 'cd' & $directory, "", "")
Run(@ComSpec & " /c " & 'java -jar' & $versionnumber, "", "")

Share this post


Link to post
Share on other sites



Not to worry, I've solved my problem with a bit more searching.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0