SHARE
TWEET

Plex PPS v1 BATCH

Octorock May 19th, 2017 (edited) 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REM   Since Plex is only able to execute internal OS scripting and executables files
  2. REM   this .bat file bridges the gap between the internal scripting (batch files)
  3. REM   and .vbs/.vbe files which require an external interpreter (cscript or wscript) to run.
  4. REM   The full filename will be passed through the command line parameter as %1 to the VB script.
  5. REM   Below is one of the VB script interpreters being executed with the script as a parameter as
  6. REM   well as the full filename as it was supplied by Plex. Basically, run WScript using the script,
  7. REM   the script runs using the filename.
  8.  
  9. @Echo off
  10. C:\Windows\System32\wscript.exe "D:\Plex\DVR\PostProcess.vbs" %1
RAW Paste Data
Top