| || |
| || |
Join Date: May 2008
Re: Default directory of Windows media player
You can store the last opened directory in windows media player only if you open a file and play it. It is being stored in a registry value named OpenDir.But if you click File - Open dialog the last open folder reset to C: \ Program Files \ Windows Media Player. To open directory to your designated place to place every time you launch Windows Media Player, you can use this manuscript.
Set WshShell = CreateObject("WScript.Shell")
StartDir = "F:\Album" |
"HKCU\Software\Microsoft\MediaPlayer\Player\Settings\OpenDir", StartDir, "REG_SZ"
WshShell.Run "wmplayer", 1,True
Set WshShell = Nothing
Copy the following content to notepad and saving as "wmp.vbs. Double click wmp.vbs for Windows Media Player to launch. You can use VBS in your cover of the Quick Launch for easy access places. "StartDir" is placed at F: \ Album. Change the path accordingly in the manuscript. Thats it !!!