In the Finder file properties of a EXE-file, I wanted to make all EXE-files to be opened with DOSBox. On "Open with:", I selected DOSBox and then clicked on "Change All...".
Then I get the error
An unexpected error occurred (error code -10813).
Why? How can I fix this?
Some related search results:
Apple forum "Unexpected error -10813 when trying to use Change All". They suggest to reset the Launch Services database via
lsregister. On my 10.9 system, the updated path is
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister. However, I don't want to reset the database, so that is not an option for me. Dumping the database (
lsregister -dump) worked without any problem.
Fixya "When i am trying to open a file or folder on my macbook air it's showing error code -10813". Refers to this. Seems not related to my problem.
"Open with Blitzmax 'Change all' broken?". No solution.