need help writing a .bat file

Discussion in 'Software' started by red death68, Jun 26, 2009.

  1. red death68

    red death68 Command Sergeant Major

    im trying to write a .bat file that essentialy opens up windows media player to a saved playlist and after the playlist is finished closes the media player and runs a second .bat file

    i need help with the code can anyone help me?
     
  2. dlb

    dlb MajorGeek

    Maybe try posting in the Programming Forum?

    (yeah, not a lot of help, but it might get you a quick and accurate answer ;) )
     
  3. kipfeet

    kipfeet Corporal

    Old versions of MP had a /close command, but recent versions don't seem to have it. Conversely, recent versions can run a playlist from a batch file, but old versions can't. I can't think of any way to close MP after playing the playlist without manual intervention. The batch file itself is pretty straightforward----it's getting MP to automatically close after playing the playlist that's difficult or impossible.

    I'm not familiar with other players, but perhaps there's another one out there that will automatically close (via a command line switch) after playing something.

    Sorry, but that's all I know. Maybe someone else will have a bright idea.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds