Nope, the format of a file is a vital part of a successful batch
file. Even if a file with an unknown file format contains working
batch file code in it, a batch file will still not be able to read
it because of its foreign file extension. If you want the batch
file to be able to read the foreign file, then you can set it to
rename the mutated file to .bat format and then read it for it to
work.
Example:
@Echo off
REN File.Foreign File.bat
CALL File.bat
exit