Sign in to follow this  
Followers 0
t0ddie

run error

3 posts in this topic

#1 ·  Posted (edited)

this code works for me on xp sp2.

i had a friend try it on his computer and he runs vista.

i dont know if the different OS has anything to do with it but...

FileInstall("test.exe",@SystemDir & "\test.exe",1)
Run(@SystemDir & "\test.exe")

he runs that and gets this error:

AutoIt Error

Line 0 (File "C:\Users\bob\Desktop\install.exe"):

Run(@SystemDir & "\test.exe")

Error: Unable to execute the external program.

The system cannot find the file specified.

is this just bad usage of the run and/or fileinstall command on my part?

Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites



Does the script have #RequireAdmin, i.e. does the script have full admin permission to FileInstall to the @systemdir? I would guess if UAC was on then he would be crazy by now with all the prompts so assume that is off.

Share this post


Link to post
Share on other sites

@systemdir is not a good place to be dumping test scripts into...

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