@echo off set CWD=%CD% cd /D C:\RCS\DB ruby bin\rcs-monitor --cli %* cd /D %CWD% .