
Powershell에서는 type -wait
로그 파일 업데이트를 보는 데 사용합니다.
type -wait
Powershell 창과 대상 파일을 여는 컨텍스트 메뉴 항목을 원합니다 . 그러나 나는 그것을 작동시킬 수 없습니다.
내 .reg 파일에서 명령의 다양한 순열을 시도했습니다.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\WatchFIle]
"MUIVerb"="&Watch File"
[HKEY_CLASSES_ROOT\*\shell\WatchFIle\command]
@="powershell.exe -Command {type -wait \"%V\"}"
그러나 일어나는 일은 Powershell 창이 잠시 나타나는 것뿐입니다.
내가 도대체 뭘 잘못하고있는 겁니까?