/checkforsfv { set %numfolderz $finddir(x:\gamemp3s\, *, 0) set %checkforsfvi 1 while (%i <= %numfolderz) { if ($findfile($finddir(x:\gamemp3s, *, %checkforsfvi), *.sfv, 0) == 0) { /echo no sfv exists for $finddir(x:\gamemp3s, *, %checkforsfvi) } inc %checkforsfvi 1 } }