Wb-FreeKill Posted April 10, 2005 Share Posted April 10, 2005 $CompileNow = "C:\My Folder\Aut2Exe.exe /in " & $Au3File1 & " /out " & GUICtrlRead($FileDes) &" /Icon C:\Icon.ico /nodecompile /comp 0-4" Run($Compilenow) For a while ago, i was told its because the the whitespace in the destionation file: "C:\My Folder\Aut2Exe.exe" And it works without the white space, but if the path to the Aut2Exe.exe file is not always the same, sometimes with white spaces, sometimes not.. how can i asure it allways works? And how to write the commandline, when the command contains whitespaces? Link to comment Share on other sites More sharing options...
Developers Jos Posted April 10, 2005 Developers Share Posted April 10, 2005 (edited) $CompileNow = "C:\My Folder\Aut2Exe.exe /in " & $Au3File1 & " /out " & GUICtrlRead($FileDes) &" /Icon C:\Icon.ico /nodecompile /comp 0-4" Run($Compilenow)For a while ago, i was told its because the the whitespace in the destionation file:"C:\My Folder\Aut2Exe.exe"And it works without the white space, but if the path to the Aut2Exe.exe file is not always the same, sometimes with white spaces, sometimes not.. how can i asure it allways works?And how to write the commandline, when the command contains whitespaces? <{POST_SNAPBACK}>$CompileNow = 'C:\My Folder\Aut2Exe.exe /in "' & $Au3File1 & '" /out "' & GUICtrlRead($FileDes) &'" /Icon C:\Icon.ico /nodecompile /comp 0-4'Or just use CompileAU3.exe standalone or via SciTE Ctrl+F7 ... Edited April 10, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Wb-FreeKill Posted April 10, 2005 Author Share Posted April 10, 2005 $CompileNow = 'C:\My Folder\Aut2Exe.exe /in "' & $Au3File1 & '" /out "' & GUICtrlRead($FileDes) &'" /Icon C:\Icon.ico /nodecompile /comp 0-4'Or just use CompileAU3.exe standalone or via SciTE Ctrl+F7 ... <{POST_SNAPBACK}>Well, i knew it was something abput the quotes, but not what, thx you so much 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