dinodod Posted August 15, 2007 Posted August 15, 2007 (edited) FYI: @scriptdir = f:\autoit apps <-- Notice the space between autoit & apps $test = """" & @ScriptDir & "\bin\psexec" & """" & " -i \\PCNAME regsvr32 /u " & """" & "c:\program files\google\googletoolbar1.dll" & """" MsgBox(0,"",$test);ExitRunWait(@ComSpec & " /k " & $test) any ideas how to make this work? If I use apostrophies ( ' ) around the c:\program files ..., it errors on that portion but when I use the quotes, I get errored out on the beginning of the command.I can't win!Ideas?Poor man's solution: As a workaround, I could make a bat file that gets copied to c:\temp\ folder and executed which in turns executes the command BUT I don't see any errors of my command. Edited August 15, 2007 by dinodod Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007
JohnBailey Posted August 15, 2007 Posted August 15, 2007 Try Run('"C:\Auto-It files\List Get - Internet Only.exe"','C:\Auto-It files') See the '" "' A decision is a powerful thing
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