Skip to content

Instantly share code, notes, and snippets.

@lordmilko
Last active June 13, 2022 17:17
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lordmilko/49d3a4f7488ff36475d2d29dc2069418 to your computer and use it in GitHub Desktop.
Save lordmilko/49d3a4f7488ff36475d2d29dc2069418 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'\""
@jmrichardson
Copy link

This is great! Thanks!

@badsect0r
Copy link

Such a great idea, thanks!

@allorente
Copy link

Great idea. Thanks!!!

@metalcated
Copy link

Awesome! Thanks for saving me time lol :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment