?
Solved

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

Posted on 2008-10-29
6
Medium Priority
?
6,006 Views
Last Modified: 2010-04-21
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.  
0
Comment
Question by:jason-crocker
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 38

Expert Comment

by:Shift-3
ID: 22833037
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
 

Author Comment

by:jason-crocker
ID: 22833183
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??
0
 
LVL 38

Expert Comment

by:Shift-3
ID: 22833565
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
Introducing the WatchGuard 420 Access Point

WatchGuard's newest access point includes an 802.11ac Wave 2 chipset, providing the fastest speeds for VoIP, video and music streaming, and large data file transfers. Additionally, enjoy the benefits of strong security as the 3rd radio delivers dedicated WIPS protection!

 

Author Comment

by:jason-crocker
ID: 22833853
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
 
LVL 38

Accepted Solution

by:
Shift-3 earned 2000 total points
ID: 22834406
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
 

Author Closing Comment

by:jason-crocker
ID: 31511253
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

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question