1 2 3 4 5 6 7 8 9
@echo off ::: $Id: rm.bat,v 1.1 2004/03/21 23:21:30 nobu Exp $ if "%1" == "-f" shift :begin if "%1" == "" goto :end if exist "%1" del "%1" shift goto :begin :end