Wow, thanks Brian! That's exactly what I needed. It's odd that they never bothered to write a /help command.
For anyone else who's looking to do this, below is the script I'm using. I just leave it running on the computer with Video Coder installed. Set [WATCH FOLDER DIRECTORY], [FRAME RATE], and [POLLING DELAY] to suit.
@echo off
SET dirWatchFolder=[WATCH FOLDER DIRECTORY]
if not exist "%dirWatchFolder%" md "%dirWatchFolder%"
cd /D %dirWatchFolder%
echo XPression Video Coder Utility
echo Monitoring %CD%...
:loop
for %%a in (*.mp4 *.mpg *.mpeg *.avi *.mov *.mxf) do (
for %%b in (.\Completed .\Processing .\Failed .\Old) do (
if not exist %%b md %%b
)
move /Y ".\%%a" ".\Old\%%~nxa" >nul
echo Encoding %%~nxa...
pushd "%ProgramFiles(x86)%\XPressionStudio"
VideoCoder.exe source="%dirWatchFolder%\Old\%%~nxa" target="%dirWatchFolder%\Processing\%%~na.avi" codec="XPression Video Codec 5.7" targetframerate=[FRAME RATE]
popd
if exist ".\Processing\%%~na.avi" (
move /Y ".\Processing\%%~na.avi" ".\Completed\%%~na.avi" >nul
echo Completed.
) else (
move /Y ".\Old\%%~nxa" ".\Failed\%%~nxa" >nul
echo Failed.
)
echo Monitoring...
)
ping -n [POLLING DELAY (IN SECONDS)] localhost >nul
goto :loop
#XPression