Hi Brandon,
If you are wanting to close Windows Media Player programmatically, you will have to call into the ActiveX API for the Windows Media Player. This is the preferred method, but you could also call "taskkill /IM wmplayer.exe" within the command prompt. Let me know if you have any questions.