Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

help running elevated vbs

$
0
0
hi everyone, i am having trouble executing a very basic run as.



[ autoit ]      
Local $sUserName = "myusername" Local $sDomain = "mydomain" Local $sPassword = "mypassword" Local $sProgram = "wscript.exe|c:\users\user\desktop\working.vbs" ;Local $sWorkingdir = "" RunAsWait($sUserName, $sDomain, $sPassword, 0, $sProgram, $sWorkingdir @TempDir)

i know the vbs is fine as i can execute it and it does what it should, i just cannot get the run as elevated part to work and im a little unsure a bout the pipe too.

thank you to anyone with an idea on this one.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>