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
Slow Opening of Video Files over LAN
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="jimmynail" data-source="post: 289644" data-attributes="member: 78779"><p>here it is listed below - - i ended up reloading everything into my movie db i dont know if its possible to edit the existing one to include the new DIR path.</p><p></p><p>Copy and paste following code into notepad and save it with any name having .cmd extension. </p><p>You need to set path (FilesPath variable) to the folder where all movies exist. </p><p></p><p> @ECHO OFF</p><p>SETLOCAL EnableDelayedExpansion</p><p>SET FilesPath=C:\My Movies</p><p>IF NOT EXIST !FilesPath! ECHO Invalid Path "!FilesPath!" &EXIT /B 0</p><p>FOR /F "delims=" %%f IN ('DIR /A-D /B /ON "!FilesPath!"') DO (</p><p> @ECHO Processing: %%f</p><p> SET FolderName=</p><p> SET FolderName=!FilesPath!\%%~nf</p><p> IF NOT EXIST "!FolderName!" MD "!FolderName!"</p><p> IF EXIST "!FilesPath!\%%f" MOVE /Y "!FilesPath!\%%f" "!FolderName!")</p><p> </p><p>EXIT /B 0</p><p> </p><p>test it on a small existing folder first make sure you dont screw your collection!</p></blockquote><p></p>
[QUOTE="jimmynail, post: 289644, member: 78779"] here it is listed below - - i ended up reloading everything into my movie db i dont know if its possible to edit the existing one to include the new DIR path. Copy and paste following code into notepad and save it with any name having .cmd extension. You need to set path (FilesPath variable) to the folder where all movies exist. @ECHO OFF SETLOCAL EnableDelayedExpansion SET FilesPath=C:\My Movies IF NOT EXIST !FilesPath! ECHO Invalid Path "!FilesPath!" &EXIT /B 0 FOR /F "delims=" %%f IN ('DIR /A-D /B /ON "!FilesPath!"') DO ( @ECHO Processing: %%f SET FolderName= SET FolderName=!FilesPath!\%%~nf IF NOT EXIST "!FolderName!" MD "!FolderName!" IF EXIST "!FilesPath!\%%f" MOVE /Y "!FilesPath!\%%f" "!FolderName!") EXIT /B 0 test it on a small existing folder first make sure you dont screw your collection! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Slow Opening of Video Files over LAN
Contact us
RSS
Top
Bottom