@echo off set CWD=%CD% cd /D C:\RCS\Collector ruby bin\rcs-collector-stats %* cd /D %CWD% .