dirtmike Posted February 25, 2009 Share Posted February 25, 2009 (edited) First off $drive = "c:\" $someExe = "some.exe" $file = "my test.file" $temp = $someExe & " " & '"' & $drive & $file & '"' RunWait($temp) The last "(double quote) does not get appended! What I get in $temp is c:\some.exe "c:\my test.file when it should be c:\some.exe "c:\my test.file" Can anyone clarify? Thanks, Mike Edited February 25, 2009 by dirtmike Link to comment Share on other sites More sharing options...
Inverted Posted February 25, 2009 Share Posted February 25, 2009 (edited) MsgBox (4096, '"','"') Seems fine to me ... Use MsgBox in your script to see the contents. Edited February 25, 2009 by Inverted Link to comment Share on other sites More sharing options...
dirtmike Posted February 25, 2009 Author Share Posted February 25, 2009 Problem solved... I'm using the autoit debugger! It isn't showing the correct value in the watch window!! 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