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 Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
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
iphone 4s turn off auto (?)shuffle
Running the latest ios on a iphone 4s, with the latest itunes installed on pc, my iphone now shuffles every track on any album. The shuffle icon is grey/black and when you press the icon it just shuffles to the next track. this has only happened since latest update. Did a quick google there are...
Software
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
Please help me write a script
Hey all, Long long time lurker, first time poster. I'm leaving the country for vacation and I'd like to setup a script that runs every hour to check and see if my VNC Client is running. I use this VNC client to remote into my computer from my phone and the thought of not being able to do this...
Customization
Windows Media Player - Turn DVD Playback Restrictions On or Off
How to Turn DVD Playback Restrictions On or Off in Windows Media Player This will show you how to set DVD playback restrictions in Windows Media Player to prevent all users (ex: child) with a standard account on your computer from being able to play a DVD movie that is rated higher than the G,...
Tutorials


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 05:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App