I wanna also add some informations about this problem/feature, i had found and test an command line tool by Microsoft (
streams.exe) and working (under windows 10), that this tool by-pass this open file warning security and i had found some informations that may help mirc to implement it core (via -b paramater):
Informations:
Before downloading or opening any executable file.This is called "Open file security Warning". This is raised because of Attachment Execution Services (AES). Every program which uses the ShellExecute() API, must pass through AES.
About the Microsoft's "
streams.exe" informations
here