Post Processing Variables
Posted: September 27th, 2013, 3:50 pm
I have been playing around with the github develop branch 0.8.x on Windows 8 and I have run into an issue with the post processing variables. I have used the same script in previous versions and it has never given me any issues. The script automatically sorts files into different folders based upon certain criteria (i.e. if an mkv or avi is present it moves the download to the videos folder for further processing). However, 0.8.x has changed how it passes the download information so instead of passing: "D:\Downloads\Completed\SOME.DOWNLOAD" it is passing "\\?\D:\Downloads\Completed\SOME.DOWNLOAD". This results in the following error: "CMD does not support UNC paths as current directories". Any ideas on what I can do to get this working again?
Here is part of the batch file I am using:
@ECHO OFF
REM **
REM ** If SabNZBd says the processing completed successfully...
REM **
IF %7 == 0 (
CD /D %1
IF EXIST *.mkv (
REM **
REM ** ... and this folder has an MKV video, then we must have downloaded a movie or TV episode ...
REM **
CD \
ECHO This is a *VIDEO* and is being moved accordingly...
MOVE %1 D:\Downloads\Videos
EXIT 0
)
Here is part of the batch file I am using:
@ECHO OFF
REM **
REM ** If SabNZBd says the processing completed successfully...
REM **
IF %7 == 0 (
CD /D %1
IF EXIST *.mkv (
REM **
REM ** ... and this folder has an MKV video, then we must have downloaded a movie or TV episode ...
REM **
CD \
ECHO This is a *VIDEO* and is being moved accordingly...
MOVE %1 D:\Downloads\Videos
EXIT 0
)