@echo off :next if '%1'=='' goto exit if '%1'=='-f' goto sh erase %1 :sh shift goto next :exit