k: is the mapped share on the NAS
k:\music\mmdb\mm.db is the location of the db on the NAS
The "rename mm.db mm.db-%date:~6,4%%date:~3,2%%date:~0,2%%time:~0,2%%time:~3,2%00.bak" bit is to create a backup of the DB before copying back
It
1. copies the DB to local C:
2. runs MM
3. copies the DB back to K: after MM has closed
Code: Select all
dir k:\music\mmdb
pause
copy k:\music\mmdb\mm.db "c:\users\name\Application Data\MediaMonkey\MM.DB"
k:
cd \music\mmdb\
rename mm.db mm.db-%date:~6,4%%date:~3,2%%date:~0,2%%time:~0,2%%time:~3,2%00.bak
c:
"c:\Program Files\MediaMonkey\MediaMonkey (non-skinned).exe" /NOSPLASH
copy "c:\users\name\Application Data\MediaMonkey\MM.DB" k:\music\mmdb\MM.DB
pause