给Windows右键菜单添加类似Linux的"tail -f"命令

导入以下注册表文件即可:

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



你可能感兴趣的:(给Windows右键菜单添加类似Linux的"tail -f"命令)