|
Computer Audio Asylum Music servers and other computer based digital audio technologies. |
For Sale Ads |
Use this form to submit comments directly to the Asylum moderators for this forum. We're particularly interested in truly outstanding posts that might be added to our FAQs.You may also use this form to provide feedback or to call attention to messages that may be in violation of our content rules.
Original Message
AUTOCONNECTION of The Network Drive in Network Configuration of cMP2
Posted by Mihaylov on September 24, 2011 at 13:45:03:
Hi all users of cMP2 network player!
You as well as me obviously should connect manually the network disk with the help of bat file. That the network disk was connected automatically at startup of cMP it is necessary to edit in a notepad the files cicsMemoryPlayer.pth and Logon.bat as follows.1. Edit the “PROCESS_EXPLORER” line in C:\Program Files\cics Memory player\cics memory player.pth to read:
PROCESS_EXPLORER "c:\Logon.bat"2. Edit the file Logon.bat that it looked so:
SetLocal EnableExtensions EnableDelayedExpansion
:LogStora
NET USE M: /delete
NET USE M: \\Server\Folder /User:Server\UserName password: /persistent:no
If Not "!ErrorLevel!"=="0" GoTo :LogStora
Exit(I use log in without the password therefore the fourth line in my case looks so:
NET USE M: \\MyBookLive\Public /persistent:no)Now it is necessary to select option "Starup -> Process Explorer" in settings of cMP and voilà :).