When I add a windows executable to run on timer alarm I get "I was unable to launch "C:\path to .exe". I have tried multiple .exe and .bat files and I always get the same error. I am running Windows XP. Thanks.
I found the problem, I had spaces in the path to the exe. The way the function runProcess() in TeaTimer.cs handles the path does not work with any path like "C:\Program Files\some.exe". Could you just pass the variable sFile directly to System.Diagnostics.Process.Start(sFile, t) after verifying sFile is not null?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I found the problem, I had spaces in the path to the exe. The way the function runProcess() in TeaTimer.cs handles the path does not work with any path like "C:\Program Files\some.exe". Could you just pass the variable sFile directly to System.Diagnostics.Process.Start(sFile, t) after verifying sFile is not null?