alias find { set %i 1 :next set %x $findfile(C:\,*.*,%i) if (%x == $null) goto done if (%x != $null) { echo %x } inc %i goto next :done }