0521デフォルトの名無しさん垢版 | 大砲2019/11/06(水) 15:48:22.56ID:Z1XrM+Fl set /p N%i%=数値を入力 : if not defined N%i% (echo 入力無効 &goto :INPUT) echo !N%i%!|findstr /r /c:"[^0-9]" && (echo 入力無効 &goto :INPUT) 上のに真ん中の行追加で