Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: 1 simple question about a batch file.  (Read 2804 times)

0 Members and 1 Guest are viewing this topic.

somebody

  • Guest
1 simple question about a batch file.
« on: December 25, 2004, 06:19:20 AM »
Hello,

I have made a batch file that starts up a mp3 song.
But now I want it to close when the song has finisht playing.
So when the music file has stopt I want the media player to quit.

I that possible in the same batch file?

Neil



    Expert
  • Fear me Track. Noone can escape my wrath.
  • Thanked: 3
    Re: 1 simple question about a batch file.
    « Reply #1 on: December 27, 2004, 08:25:33 AM »
    How did you get the mp3 to play? I was unaware they could be played in DOS... at least not without special software. As to your problem, I do not think it is possible, especially if it is a Windows program.

    somebody

    • Guest
    Re: 1 simple question about a batch file.
    « Reply #2 on: December 27, 2004, 12:03:46 PM »
    Sorry, I forget to tell that I'm working on windows XP.

    It sounds stupid why making a batch file on XP, but its for something special.

    I have read somewhere that the command for to close something is /CLOSE.

    But I cant use that command to close my music file.

    I am trying to close the complete media player with that command, but that didn't work either.

    Maybe this is the right command, but I'm using it wrong.  ;D