Skip to content

Instantly share code, notes, and snippets.

@metalcated
Forked from lordmilko/Tail.reg
Created June 13, 2022 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metalcated/4815712e9d9ea161e274d9d66dbb33a8 to your computer and use it in GitHub Desktop.
Save metalcated/4815712e9d9ea161e274d9d66dbb33a8 to your computer and use it in GitHub Desktop.
Tail Context Menu Item - Right click text files to tail them!
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\txtfile\shell\Tail]
[HKEY_CURRENT_USER\SOFTWARE\Classes\txtfile\shell\Tail\command]
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -noexit -command \"function tail($path) {$host.ui.RawUI.WindowTitle = $path; gc $path -tail 10 -wait} tail\" \"'%1'\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment