Jump to content

run error

Recommended Posts

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.

Link to comment
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.

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...