anystupidassname Posted December 14, 2005 Share Posted December 14, 2005 Ok, why does it keep saying "unable to execute external program" when I do START>RUN> "path\compiledscript.exe /testexecutable.exe /3"?? The intention is to be able to drop the script into the folder where another exe resides that I'd like to launch with a certain process priority. Any assistance much appreciated! #NoTrayIcon $pri = "4" If $CmdLine[0] > 0 Then $pro = $CmdLine[1] Else MsgBox(48, "Try passing a parameter next time...", "High.exe /process to launch /priority") Exit EndIf If $CmdLine[2] <> "" Then $pri = $CmdLine[2] EndIf Run( $pro, @ScriptDir) ProcessSetPriority($pro, $pri) Exit This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#....... Link to comment Share on other sites More sharing options...
anystupidassname Posted December 14, 2005 Author Share Posted December 14, 2005 try without the /... script.exe testexecutable.exe 3Thanks, I'm a dork. This signature is computer generated, nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#nothing can go wron#....... 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