補足 拡張子の意味 と 活用(SLIMに関連して)

@echo off
if "%1"=="" goto ex
call slimrb -p %1 > %~n1.html
exit /b
:ex
echo Usage: %0 FILENAME