I need help with this

I have problems with this update
I’m running on a mac
I have 2 problems
How do I create a .bat file on a mac(or in dreamweaver bcuz I have that.)
and what file do I put on my site for the chat thing?
do I put the swf. the .bat or the .php? Or all three?