Jump to content

Runwait


Recommended Posts

I have a program called uinws.exe

the path to it is C:\Program Files\Peak Systems\UI-View32

here is my script it all on one line

RunWait ("UINWS.EXE", "C:\ProgramFiles\PeakSystems\UIView32",@SW_MAXIMIZE)

is the error I get

error unable to execute the exteral program

the system cant find the file specified

I copied notepad.exe to this dir can run it but not any other exe

what am I doing wrong thanks for any help

Link to comment
Share on other sites

  • Developers

Try:

RunWait ("C:\ProgramFiles\PeakSystems\UIView32\UINWS.EXE","C:\ProgramFiles\PeakSystems\UIView32",@SW_MAXIMIZE)

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

  • Developers

with this i got directory name is invalid

RunWait ("C:\ProgramFiles\PeakSystems\UIView32\UINWS.EXE","C:\ProgramFiles\PeakSystems\UIView32",@SW_MAXIMIZE)

what am i missing

You are missing a space between program and files...... i guess i had that as well ..... :D

should be "c:\Program Files" etc...

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
 Share

  • Recently Browsing   0 members

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