Can I include bat file as a source file

 

Hi.

I have a simple question. Can I  include a bat file like this?


#resource "\\Files\\httprequest.bat"


I compiled a source file with the code above, but I got this message.


unknown resource type '\MQL4\Files\httprequest.bat'   HTTP.mq4


Actually, I can do HTTP request in other ways.

I just would like to know whether I can do what I said.


Thank you for your cooperation.


 

It cannot be done.

The batch file must be run externally.

 

I got it. Thank you for your help!