PC Review


Reply
Thread Tools Rate Thread

can't make WMP 'start in' any directory

 
 
jameshanley39@yahoo.co.uk
Guest
Posts: n/a
 
      11th Feb 2005
I tried changing the 'start in' box for WMP so it'd go to a different
directory, but it keeps defaulting to c:\program files\windows media
player

 
Reply With Quote
 
 
 
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      11th Feb 2005
WMP stores the last opened directory (only if you open a file and play it)
in a registry value named "OpenDir". But, if you click File - Open and
cancel the dialog once, the last open directory is reset to "C:\Program
Files\Windows Media Player"

To set the "OpenDir" to your preferred location everytime you launch WMP,
you may use this script:

-----------------Cut here-------------------------------------
Set WshShell = CreateObject("WScript.Shell")
StartDir = "F:\Album"
WshShell.RegWrite _
"HKCU\Software\Microsoft\MediaPlayer\Player\Settings\OpenDir",StartDir,"REG_SZ"
WshShell.Run "wmplayer", 1,True
Set WshShell = Nothing

-----------------Cut here--------------------------------------

Copy the above contents to Notepad, and save as wmp.vbs. Double-click
wmp.vbs to launch Windows Media Player. You may place the VBS in your Quick
Launch folder for each access.

FYI: The "StartDir" is set to "F:\Album". Modify the path accordingly.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I tried changing the 'start in' box for WMP so it'd go to a different
> directory, but it keeps defaulting to c:\program files\windows media
> player
>


 
Reply With Quote
 
jameshanley39@yahoo.co.uk
Guest
Posts: n/a
 
      11th Feb 2005

Ramesh, MS-MVP wrote:
> WMP stores the last opened directory (only if you open a file and

play it)
> in a registry value named "OpenDir". But, if you click File - Open

and
> cancel the dialog once, the last open directory is reset to

"C:\Program
> Files\Windows Media Player"


thanks, that works. As soon as I opened/played a song from the folder I
wanted instead of clicking cancel, it set the directory for the next
time WMP opened. So, that works, I don't need to do the registry thing.

'interestingly' it seems that the 'start in' option on the WMP icon has
no effect.

 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      11th Feb 2005
You're welcome.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> Ramesh, MS-MVP wrote:
>> WMP stores the last opened directory (only if you open a file and

> play it)
>> in a registry value named "OpenDir". But, if you click File - Open

> and
>> cancel the dialog once, the last open directory is reset to

> "C:\Program
>> Files\Windows Media Player"

>
> thanks, that works. As soon as I opened/played a song from the folder I
> wanted instead of clicking cancel, it set the directory for the next
> time WMP opened. So, that works, I don't need to do the registry thing.
>
> 'interestingly' it seems that the 'start in' option on the WMP icon has
> no effect.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't make WMP 'start in' any directory jameshanley39@yahoo.co.uk Windows XP General 3 11th Feb 2005 03:01 PM
can't make WMP 'start in' any directory jameshanley39@yahoo.co.uk Windows XP General 1 11th Feb 2005 02:26 PM
can't make WMP 'start in' any directory jameshanley39@yahoo.co.uk Windows XP Music 1 11th Feb 2005 02:26 PM
Unable to start directory services; using directory recovery conso =?Utf-8?B?SnVzdGluIEFsbGVu?= Microsoft Windows 2000 Active Directory 0 8th Sep 2004 12:33 AM
Access denied to '...' directory. Failed to start monitoring directory changes. =?Utf-8?B?QW1pdA==?= Microsoft Dot NET 0 9th Mar 2004 11:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:57 AM.