antmar904 Posted June 7, 2017 Posted June 7, 2017 RunAsWait($UserName, $Domain, $Password, 0, @ScriptDir & '\CopyFileProgress_v1.1.6.exe ' & @ScriptDir '\Installers ' & 'C:\Windows\Temp\GP', @TempDir) I am trying to run "CopyFileProgress_v1.1.6.exe" with source folder "@scriptdir & \Installers" and destination folder "C:\Windows\Temp\GP" but nothing is working.
Subz Posted June 7, 2017 Posted June 7, 2017 You need an & after @ScriptDir however what other errors are you receiving?
antmar904 Posted June 7, 2017 Author Posted June 7, 2017 I was only receiving an error when trying to compile. I added the "&", compiled it without any errors but it's not working.
Subz Posted June 7, 2017 Posted June 7, 2017 Try running it in Scite and then check the Console for errors.
antmar904 Posted June 7, 2017 Author Posted June 7, 2017 turns out admin rights was req thanks again!
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