Jump to content

Run() Comand Line Error


Recommended Posts

OK, all the files are in their correct place, but when i try to run aut2exe with this code:

run("C:\WINDOWS\aut2exe.exe" /in 'C:\temp.au3' /out 'server.exe' /icon 'C:\blank.ico' /comp 4 /pass 'password')

It was that there is an error in the expression. All the files that are in the code are in the right place, but it wont run! what am i doing wrong?

Link to comment
Share on other sites

Hi!

I think you have to use double quotes for the paths after /in and /out. Windows style, not AutoIt style...

peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

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
 Share

  • Recently Browsing   0 members

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