Sign in to follow this  
Followers 0
herworth

Run and Runwait

3 posts in this topic

Just today, my scripts have stopped working where I have run() or runwait() operating another Autoit compiled script. They still work with other executables.

Now. if I try to run one script which is supposed to run another script (compiled) I get error msg "Unable to execute the external program".

Anyone got any ideas about this? (Autoit 3.0.103, by the way)


[u][font="Arial"]Pete[/font][/u]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

It seems that no-one has the answer yet but I can see a few of you have looked. Well, I don't have the answer but I can tell you that I used reshacker on the autoitSC.bin, did nothing to it. recompiled and saved it and now the scripts works again. It may just be coincidence but I'm not complaining.

I still have no clue what went wrong!

Edited by herworth

[u][font="Arial"]Pete[/font][/u]

Share this post


Link to post
Share on other sites

hello,

i had the same problem (with windows XP sp2) when i have called a script from a shared network-drive e.g. h:\scriptfolder\script.exe

the solution was a call with a unc-path e.g. \\server1\scriptfolder\script.exe

RunWait('"\\server\scripte\b.exe"', "\\server\scripte\")

bye

motzel

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