歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux技術 >> 給Windows右鍵菜單添加類似Linux的tail

給Windows右鍵菜單添加類似Linux的tail

日期:2017/3/3 12:23:18   编辑:Linux技術

導入以下注冊表文件即可:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\tail -f]

"Icon"="C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe"

[HKEY_CLASSES_ROOT\*\shell\tail -f\command]

@="C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\powershell.exe Get-Content -Wait '%1'"

考慮到默認CMD窗口太小,可以導入以下注冊表文件:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Console]

"ScreenBufferSize"=dword:012c0078

"WindowSize"=dword:001e0078

Copyright © Linux教程網 All Rights Reserved