@echo off cd /d C:\Media REM Start the movie playlist updater in the background start "" /min powershell -NoProfile -Command "while ($true) { py 'C:\Media\build_vod.py'; Start-Sleep -Seconds 300 }" REM Start the range-capable media server py C:\Media\media_server.py