Batch file not working

I decided to go back to windows 7 and after finding out the exit button on Skype dose not quit Skype I tried to make a batch file to run the command to quit Skype and bind it to one of the programmable keys on my keyboard. I made the file witch can be seen in the screenshot below but when I run it I just get that error. If I manually type the commands into cmd it works fine but just not from the batch file. Did I do something wrong?

PS: I think this is the wrong place to post this and if it is I'm sorry, I've been up for quite some time now with out sleep so my brain isn't working at 100% (maybe that's why i cant seem to get a simple batch file to work).

Please don't double post.

I didn't. I posted this in the inbox thread and it got moved. Note the PS at the end of the post, that's from where I believed that the inbox may have been the wrong place to post it.

If you want to shutdown a program from windows command line you need to use the "TASKKILL" command.

TASKKILL /F /IM skype.exe

as an example.

i dont think @echo off should be in caps, as i never do that in my working batch files

It looks like you have a character in front of your @ on the command. Just remove the entire @echo off command.

Thanks for the help guys. I finally got it to work and it turns out that notepad was the faulty program, I re-did the file in wordpad and it worked fine. I did have to remove path in the second line but everything else was fine.

@Digital-Humpty, wile you do have to use that to kill Skype if using the business version, for the normal version the command I am using is built into Skype to shutdown the program from within it to prevent problems. 

There is a way to close Skype without a Batch file. Just right click it and under the "Tasks" section there is "Quit Skype". (If you have done this, then sorry for posting useless info)