The following batch script is what I use to automatically deploy the most recently created .bar file in a folder to either a PlayBook or BlackBerry 10 phone.
@echo off
for /f "delims=" %%x in ('dir /od /a-d /b *.bar') do set recent=%%x
@echo on
call blackberry-deploy -installApp -launchApp -device <device-ip-address> -package %recent% -password <device-password>
Just replace <device-ip-address> and <device-password> with your actual ip address and password.