作成 2010.03.18
更新 2011.11.27
PowerShell で入力待ち
BAT ファイル風に入力待ち
本体は $host.UI.ReadLine() です。
"Windows PowerShell"
Write-Host "どうですか? (Y/n): " -NoNewLine
$res = $host.UI.ReadLine()
"回答: " + $res
タグ: PowerShell

©2004-2017 UPKEN IPv4