Sign in to follow this  
Followers 0
MariusN

Aut2exe.exe errors

3 posts in this topic

#1 ·  Posted (edited)

ShellExecuteWait("Aut2exe.exe"," /in test.au3 /out Test.exe /icon net_256.ico", @ScriptDir & "\bin")

Weired error. (This is a piece of my code)

If i put my complete script (including the above code) in the @homedrive under a directory, the function above will execute correctly, but as soon as i take the complete code and put it in "Documents and Settings" directory, my script just stops working...Any ideas?

Has this maybe got something 2 do with environments?

Edited by MariusN

Share this post


Link to post
Share on other sites



You need to use fully qualified paths when putting it in another directory or do a FileChangeDir() to the proper directory before the ShellExecute() statement.

Specifying the WorkDir doesn't resolve that.


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

You need to use fully qualified paths when putting it in another directory or do a FileChangeDir() to the proper directory before the ShellExecute() statement.

Specifying the WorkDir doesn't resolve that.

aaa ok...Thanks a lot Jos ;)

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