| 1. |
Solve : This works but i'm sure there's a shorter (correct) way.? |
|
Answer» Hey guys, the object is to play a wav file in media player the closing and invisibility of wmplayer were the parts of the batch i was more curious about. By opening chimes.wav, you are presumably opening wmplayer indirectly thru the file association. You need to send a start /MIN parameter directly to the player. Code: [Select]@echo off Start /min wmplayer C:\chimes.wav ping -n 38 127.0.0.1 >NUL tskill wmplayer exit Don't worry about the sleep command (it comes with the Win2003 toolkit). Ping is perfectly serviceable. thanks a lot SIDEWINDER, APPRECIATE it |
|