Computer Audio Asylum

AUTOCONNECTION of The Network Drive in Network Configuration of cMP2

178.219.42.74


[ Follow Ups ] [ Post Followup ] Thread: [ Display  All  Email ] [ Computer Audio Asylum ]

This Post Has Been Edited by the Author

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: \\192.168.1.104\Public /persistent:no)

Now it is necessary to select option "Starup -> Process Explorer" in settings of cMP and voilà :).

Serge.
http://cmp2-mihaylov.narod.ru/


Follow Ups: