1.

Solve : How to close another program from Dos Batch file?

Answer»

Instead of the boring beep, I wanted to ADD C:\WINNT\Media\notify.wav to my batch file to notify me when the process is complete. After the wav sound has PLAYED, is there a WAY for me to close the window for wmplayer.exe? Is there a way to send "Alt+F4"?

I tried the FOLLOWING items individually without success.

C:\WINNT\Media\notify.wav /c (only closes dos window, not wmplayer.exe)

tskill wmplayer.exe (I receive the reponse "This utility NEEDS terminal services to be running. What is terminal services?)
You can use the "kill" command from the ressource kit.

hope it helps
uli



Discussion

No Comment Found