How do I play a .wav file remotely over the network on the remote computer using a simple script?

I'm trying to setup up a simple executable on a computer to play a .wav file on our paging system remotely. Remote Desktop is not a option, it needs to be a simple script of batch file that will play this .wav file on the remote computer that is connected to our paging system.  
jason-crockerAsked:
Who is Participating?
 
Shift-3Connect With a Mentor Commented:
It works correctly for me.  Are you pointing to the local path of the .wav file on the remote machine?

If you test it with a built-in sound by running psexec \\computername sndrec32 /play /close c:\windows\media\chimes.wav does it play?
0
 
Shift-3Commented:
You can do this using PsExec.
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx



psexec \\computername sndrec32 /play /close c:\filename.wav

Open in new window

0
 
jason-crockerAuthor Commented:
Is there anyway to do this using a simple shortcut link on the desktop that will run a script on the remote computer to run the .wav file??
1
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

 
Shift-3Commented:
You can create a batch script by entering your PsExec command into a text file with a .cmd extension.  You can then create a desktop shortcut to execute it.
0
 
jason-crockerAuthor Commented:
I tried to run the psexec command like you said, and all it would do is create a process on the remote computer, it wouldn't actually play the .wav file on the remote computer. What I'm trying to achieve is the ability to remotely trigger a .wav file to be played through our overhead paging system from this remote computer, while sitting at the managers computer.

0
 
jason-crockerAuthor Commented:
Thank you very much. I really appreciate how through you are and east to work with, and you didn't make me feel like an idiot.
0
All Courses

From novice to tech pro — start learning today.