Jump to content

Recommended Posts

Posted

Hi, I've tried most things but I can't seem to get the concept to work. I've basically got a GUI with a button and an input and when you hit the button, I would like the script path to run. I tried:

$fn = @ComSpec & ' /c "' & @ScriptDir & '\autoit3.exe" /ErrorStdOut "' & $_FILENAME & '"'

RunWait($fn)

(The $_FILENAME is a valid script path, and autoit3.exe is in the script directory...) But the cmd gives an error. What am I doing wrong? Thanks!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...