reyer Posted February 24, 2005 Posted February 24, 2005 I would like to do the following: run pskill.exe from the temp directory. something like: RunWait(@ComSpec & " /c " & @TempDir/pskill.exe "notepad") I cannot get it to work, could someone please help me? Greetings Reyer
CyberSlug Posted February 24, 2005 Posted February 24, 2005 (edited) ; One possibility..... you don't need to worry about ComSpec because pskill is an EXE file RunWait(@TempDir & "\pskill.exe notepad", "", @SW_HIDE) ; Another possibility in case the paratmer contained spaces instead being one word $prevWorkingDir = @WorkingDir FileChangeDir(@TempDir) RunWait('pskill.exe "notepad"', "", @SW_HIDE) FileChangeDir($prevWorkingDir) Edited February 24, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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