Sign in to follow this  
Followers 0
Wb-FreeKill

Why wont this work?

3 posts in this topic

$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? :)

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 ... :D

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

$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 :D

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0