System path updator for Windows
Works on Windows 7, 10
- Ruby 1.9.3 or later
- Diff::LCS
- Win32API (since Ruby 3.0)
> gem install diff-lcs > gem install win32api
Just copy pathup.rb into your convenient directory.
> ruby pathup.rb [options]
Without any options, show current system path and backup if changed.
-e | edit system_path.txt |
-u | update system path with system_path.txt |
The -u option may require administrator privileges.