Skip to content

Instantly share code, notes, and snippets.

View kendallroth's full-sized avatar
🍁

Kendall Roth kendallroth

🍁
View GitHub Profile
@kendallroth
kendallroth / togglefiles.vbs
Created October 11, 2016 15:45
Add "Toggle Hidden Files" to Windows context menu
option explicit
On Error GoTo 0
'Dim sResult: sResult = Wscript.ScriptName ''' debugging
Const HKEY_CURRENT_USER = &H80000001
Dim strComputer, strKeyPath, strValName, dwValue, arrValues, objReg, WshShell
arrValues = Array (" unknown", " show hidden files", " hide hidden files" )
strComputer = "."