Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: I'd like to write a script to turn off shuffle in Windows Media Player

18 Mar 2015   #11
Pyprohly

Windows 10, Windows 8.1 Pro, Windows 7 Professional, OS X El Capitan
 
 

Aside from a small error message, there is no "ill" effect if you ran, say, taskkill /im ehshell.exe and the WMC process did not exist to be killed in the first place.

You can suppress an error message produced by a command by redirecting StdErr (stream 2) to NUL:
Code:
taskkill /im WMPlayer.exe 2>NUL
If Windows Media Player doesn't exist, and you run the above command, no error message will display.


You may type help if or if /? into a command prompt to view help information for the if command.


My System SpecsSystem Spec
.
Reply

 I'd like to write a script to turn off shuffle in Windows Media Player




Thread Tools




Similar help and support threads
Thread Forum
Set Windows Media Player 12 as default via script or registry?
Hello all, I am looking to set Windows Player 12 as the default video player in Windows 7, but for multiple users. Basically I ran into an issue where users had problems viewing non embedded link to .mp4 formats. The fix I found is to go into "Set Program Access and Computer Defaults" and chose...
Music, Pictures & Video
Windows Media Player Script Error while looking up album info
Hi, When I try to look up album info in the Windows Media Player, it gets to the end and I get this script error: Line: 1 Char: 243 Error: Automation server can"t create object Code: 0 URL: http://fai.music.metaservices.microsoft.com/FAI/scripts/default.js
Music, Pictures & Video
Media Streaming Using Windows Media Player - Turn On or Off
How to Turn On or Off Media Streaming using Windows Media Player in Windows 7 Media streaming (media sharing) allows you to send your music, pictures, and videos to other computers and devices on your same home or work network. If you have a home network, you can use Windows Media Player (WMP)...
Tutorials
Can't turn on captions in Windows Media Player
I am trying to play a DVD on Windows Media Player, and am trying to turn on subtitles. Well, it doesn't give me the option. When I go to captions, it just has "off" selected and no other option (it does not say "on if available" or "on when muted" as I've read it should). It just gives "off" and...
Music, Pictures & Video
Can't Turn windows media player back on!?!
About a week ago I went into programs and features clicked turn windows features on and off and disabled all media features rebooted and they were gone. Awsome. Today I deiced to turn them back on but I can't i get an error message saying "An error has occurred. Not all of the features were...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:29.
Twitter Facebook Google+