Advertisement
Octorock

Plex PPS v1 BATCH

May 19th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.67 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement