for %s in (c:\windows\system32\*.*) do @echo %random%
1つのコマンドを実行中、乱数を振り直してはくれないのね・・・