Jump to content
Sign in to follow this  

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


Share this post

Link to post
Share on other sites

not sure what's wrong may be the alswish.exe program itself.

Difficult to help you without the specific program and the knowlegde of what it is doing :">

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...