MS Windows command-line script to view and edit PATH-like environment variables.
Project description
- Download and docs:
- Development:
Description
Running edpath displays entries from the PATH (or other named environment variable), with ‘;’ separators replaced by newlines, so that each entry is on its own line. Running with -e displays this in $EDITOR, and saved changes are written back to the registry, where they will be picked up by all new processes.
Run with -h for description and usage.
Requirements
MS Windows only. Only tested on Windows XP.
Requires Python 2.7.
Requires that pywin32 is installed, from: http://sourceforge.net/projects/pywin32/files/
Status and Known Problems
Feature complete. No known issues.
If you have comments or it doesn’t work for you or you find bugs, I’d love to hear about it. -tartley@tartley.com
Todo
invert the sense of options.machine to get rid of all those nots
support more versions of Python
produce a standalone py2exe version
store backups of old PATH values in case user trashes their PATH?
make Linux-friendly. Presumably we can only display the output there, not persist it.
Thanks
Thanks to Tim Golden for his marvellous descriptions and code snippets showing how to read & modify environment variables in the Windows registry.
Changes
0.1.0 Initial release. Feature complete.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file edpath-0.1.0.zip
.
File metadata
- Download URL: edpath-0.1.0.zip
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95103d6ce8757f2c50d8a714146a70bd9365921ea72ca206a29f9e23f6862f03 |
|
MD5 | 2182da66d51c111eab64907928272e10 |
|
BLAKE2b-256 | cad476ff32ae2c07b981bb0d133cdcb78b13ca5d514bef35fec5e5cc1dbad92a |
File details
Details for the file edpath-0.1.0.tar.gz
.
File metadata
- Download URL: edpath-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95fde28c6e3fbf58edd3d455030b616b080db633527b24a50f3b99467d14d82e |
|
MD5 | 9bbc9ca0479232721e7b93752b51e6d2 |
|
BLAKE2b-256 | 6afa5163b59b49d2be8f680a4fe7afbc5e1c9f8356f0e7eb5240200b6b465942 |