Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Don't stop macro if EXE not found on Run command
#1
Hi,

I am trying to skip an error generated when a EXE doesn't exist. It seems like the ;err does not handle this kind of exception.
In my macro I'm actually using a variable I stored to call the EXE, but I can trigger the issue simply by trying to open a non-existing EXE, like:

run "C:\test\testing.exe"; err

It throws a Windows error "Cannot find "C:\test\testing.exe".."

The help for the function "err" says it should handle OS errors, but not fatal errors. I thought "cannot find the file specified" would be in the OS category.
Am I doing something wrong?


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)