antmar904 Posted June 7, 2017 Share 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. Link to comment Share on other sites More sharing options...
Subz Posted June 7, 2017 Share Posted June 7, 2017 You need an & after @ScriptDir however what other errors are you receiving? Link to comment Share on other sites More sharing options...
antmar904 Posted June 7, 2017 Author Share 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. Link to comment Share on other sites More sharing options...
Subz Posted June 7, 2017 Share Posted June 7, 2017 Try running it in Scite and then check the Console for errors. Link to comment Share on other sites More sharing options...
antmar904 Posted June 7, 2017 Author Share Posted June 7, 2017 no errors in scite Link to comment Share on other sites More sharing options...
Subz Posted June 7, 2017 Share Posted June 7, 2017 So what is in CopyFileProgress script? Link to comment Share on other sites More sharing options...
antmar904 Posted June 7, 2017 Author Share Posted June 7, 2017 turns out admin rights was req thanks again! 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