2009-12-10 NULの使い方いろいろ DOSコマンド 空のテキストファイルを生成します。 type nul>C:\null.txt 標準エラー結果だけすっ飛ばします。 dir /b /a 1>C:\dirlist.txt 2>nul