Jump to content

Aut2exe.exe errors


Recommended Posts

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
Link to comment
Share on other sites

  • Developers

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.

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...