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).
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.
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)