Skip to main content

MS Windows command-line script to view and edit PATH-like environment variables.

Project description

Download and docs:

http://pypi.python.org/pypi/edpath

Development:

http://code.google.com/p/edpath

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 –edit 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 –help for description and usage.

Requirements

Argparse is not required on Python 2.7, it is built into the standard library.

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

  • 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

edpath-0.1.2.zip (6.6 kB view details)

Uploaded Source

edpath-0.1.2.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file edpath-0.1.2.zip.

File metadata

  • Download URL: edpath-0.1.2.zip
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for edpath-0.1.2.zip
Algorithm Hash digest
SHA256 4e453eff3bff4218c2123563a304b2686a1a44bc6ae3bac81b7ff5116b302483
MD5 567355775a4e4d85f6ff3ab499071773
BLAKE2b-256 7679464ff5915ff7a8a07325a870fb1e7d61053b09352ccdc6236f0285c04a2a

See more details on using hashes here.

File details

Details for the file edpath-0.1.2.tar.gz.

File metadata

  • Download URL: edpath-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for edpath-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4f3ccbbd9646e52258164e14a167db0b945a08c3e3d78fe319d20cd67bd57954
MD5 8cd3d245066fe64478e3fd35f2a97628
BLAKE2b-256 762c86b5144d3843b19d9246ea762557f9e61d1469b94a8bf339755c0285229a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page