06-20-2017, 01:21 PM
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?
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?