Jump to content

Working dir problem


Recommended Posts


I want to make a script that monitors a screen. When this shuts down it must start the program again. Ik the link properties of the program there is a working dir. But when I use the run command with workingdir it doesn't work. What am I doing wrong ?

Here is the script.


AutoItSetOption("WinTitleMatchMode", 3)

;Begin of the while loop.

While 1=1

;Wait for Concerto Rijswijk Centrale is closing

WinWaitClose("Rijswijk Centrale")

;Starting Concerto Rijswijk Centrale

Run ("d:\alsprog\newapp\alswish\alswish.exe" , "d:\alsprog\newapp\WWW")

;Wait for 4 seconds


;Closing of the loop


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