New Subst Disk in the Tree

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey for Windows 4.

Moderators: Gurus, Addon Administrators

cholv
Posts: 6
Joined: Fri Jul 16, 2010 7:59 am
Contact:

New Subst Disk in the Tree

Post by cholv »

When I make subst disk (subst M: D:\Music), then run MediaMonkey, disk is visible in the Main Tree via d_USBMass*.dll.
But I need make subst disk in the Script. Disk is maked, but it not show up in the Main Tree. It show up after reboot MediaMonkey or after reconfig device in Configuration Window.

How refresh device d_USBMass*.dll via VBS
or particularly
How make visible new subst disk via VBS.

Thanks.

Code: Select all

Dim wsh : Set wsh = CreateObject("WScript.Shell")
Call wsh.Run("%comspec% /c subst M: D:\Music",0,True)
Last edited by Lowlander on Tue Oct 22, 2013 10:53 am, edited 1 time in total.
Reason: Moved to correct Forum