home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
TIP: Using Mapped network Drives in MP
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="infy" data-source="post: 196334" data-attributes="member: 18159"><p>Why use Mapped network drives over a UNC path ( \\<servername>\<sharename>\<directory> )?</p><p>It decreases access time.</p><p></p><p>Especially if you set your Fileserver never to disconnect the client. ( net config server /autodisconnect:-1 more info: <a href="http://support.microsoft.com/kb/297684" target="_blank">http://support.microsoft.com/kb/297684</a> )</p><p></p><p>However Windows is crap even if you set your networkdrives to reconnect after reboot they will very likely not work in mediaportal after a reboot.</p><p>A solution for this is to use the following code and put it in a .bat (batch) file and place the batch file in your startup folder (start/all programs/startup).</p><p>You can add as many networkdrives as you want.</p><p></p><p>[code] @echo off</p><p>net use Z: /d 2>NUL 1>Nul</p><p>C:\wait.exe 6</p><p>net use Z: "\\Fileserver\Mp3 Collection" /persistent:yes 1>NUL </p><p>end[/code]</p><p></p><p>The 2>NUL & 1>NUL incombination with @echo off completely hide the commands being executed and the output they create.</p><p>wait.exe can be easily found on the net (use google). It's to slow down the mounting of the drives by a few seconds. So that windows has enough time to load the network stuff. </p><p></p><p>I hope this is helpful to some.</p></blockquote><p></p>
[QUOTE="infy, post: 196334, member: 18159"] Why use Mapped network drives over a UNC path ( \\<servername>\<sharename>\<directory> )? It decreases access time. Especially if you set your Fileserver never to disconnect the client. ( net config server /autodisconnect:-1 more info: [url]http://support.microsoft.com/kb/297684[/url] ) However Windows is crap even if you set your networkdrives to reconnect after reboot they will very likely not work in mediaportal after a reboot. A solution for this is to use the following code and put it in a .bat (batch) file and place the batch file in your startup folder (start/all programs/startup). You can add as many networkdrives as you want. [code] @echo off net use Z: /d 2>NUL 1>Nul C:\wait.exe 6 net use Z: "\\Fileserver\Mp3 Collection" /persistent:yes 1>NUL end[/code] The 2>NUL & 1>NUL incombination with @echo off completely hide the commands being executed and the output they create. wait.exe can be easily found on the net (use google). It's to slow down the mounting of the drives by a few seconds. So that windows has enough time to load the network stuff. I hope this is helpful to some. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
TIP: Using Mapped network Drives in MP
Contact us
RSS
Top
Bottom