2014-07-26 PowerShellで特定の拡張子のファイルを列挙する PowerShell メモ ls | ?{ $_.extension -eq ".txt" }作成は次のようなコマンド 1..9 | %{ ni "$(`"{0:D4}`" -f $_).txt" -type file }