Skip to content

A small utility for removing duplicates & non-existing path entries.

License

Notifications You must be signed in to change notification settings

bennett-sh/path-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧹 Path Cleaner

If you've been using your PC for a few years, you've probably encountered a cluttered PATH variable with entries from uninstalled programs or outdated entries from program updates. Path Cleaner is a simple tool designed to help you quickly filter out duplicate and non-existent path entries.

🏃‍♂️ Usage

  • Open/run path-cleaner.exe or put it into PATH and run path-cleaner in your terminal of choice.
  • Choose the scope (*requires admin privileges)
    • User -> cleans the current users PATH variable
    • System* -> cleans the global PATH variable
    • Both* -> cleans both the global & the current users PATH variable
  • That's it🙌

🤔 What it does

Path Cleaner removes the following items from the requested scope:

  • Non-existant paths
  • Duplictes This process supports variable expansion (e.g. %WINDIR%->C:\Windows).

📝 To-Do

  • Prefer path entries with more environment variables over constants

🫂 Feel free to contribute

About

A small utility for removing duplicates & non-existing path entries.

Topics

Resources

License

Stars

Watchers

Forks

Languages