30e5f3fb01312fcd8d1466971fb55879de4ad50b
Windows Pathifier
A simple Go tool to add/remove the current directory to/from the Windows PATH environment variable.
Features
- Add current directory to Windows PATH
- Remove current directory from Windows PATH (undo functionality)
- Windows Explorer context menu integration
- Comprehensive logging with cylogger
Usage
Command Line
# Add current directory to PATH
windows-pathifier.exe
# Remove current directory from PATH
windows-pathifier.exe -u
Context Menu Integration
- Install: Double-click
install_context_menu.reg - Use: Right-click any folder → "Add to PATH"
- Uninstall: Double-click
uninstall_context_menu.reg
Building
go build -o windows-pathifier.exe
Requirements
- Windows OS
- Go 1.23.6+
- Administrator privileges (for registry modification)
Description
Languages
Go
100%