atq

导航

 

脚本内容

$fileName = "test.txt"
$fileObj = [System.io.File]::Open($fileName,'Open','Read','None')
Write-Host "Press any key to contunue ..."
$null = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
$fileObj .Close()

posted on 2021-07-05 16:12  atq  阅读(150)  评论(0)    收藏  举报