• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Batch Files for W2K

DukeChestnut

Senior member
I have a W2K server box with users logging into workstations on other pcs. I created batch files for their logon scripts, map drives and such. My question is:

is there a way to make the batch file play a .wav file on logon?
 
You can specify the path to the wav (or any sound file for that matter) in the batch file and it will open their default wav file played and play. Probably not what you wanted to do. You can use a Group Policy to play a certain wav file when a user logs in but you need to be running Active Directory for that.

One question. Why?
 
my server pc is running AD on a .local intranet so thats not a problem. as to why i wanted to play a .wav file is just to do it. 😀
 
On my W2K system, Windows Media Player will play a .wav file, so:

"\Program Files\Windows Media Player\wmplayer.exe" PATH\filename.wav

will launch WMP and play the .wav file, however, WMP stays open after it plays it. 🙁
Note: I don't have .wav files associated with wmplayer. If you do, then the batch file should be:

PATH\filename.wav

Good luck 🙂

 
Back
Top