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 -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

edpath-0.1.1.zip (6.4 kB view details)

Uploaded Source

edpath-0.1.1.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file edpath-0.1.1.zip.

File metadata

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

File hashes

Hashes for edpath-0.1.1.zip
Algorithm Hash digest
SHA256 dd8bd0b9220ad1d396107bae1d075452d7e25ebe073d7c5ed0c338843a898730
MD5 ae84e7006452a87e656587adae9b8cff
BLAKE2b-256 1fc266f271c7901e2272d1415bde062ca0bf306ac21b9ad61119467679181395

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for edpath-0.1.1.tar.gz
Algorithm Hash digest
SHA256 579c0186fbcf07b0ed3f00fcf88c476951e7b43942f43a261447193e27231bb2
MD5 954a6bcd12b54c65bd4bd299a4c46a4c
BLAKE2b-256 4b0c9616f5f3e6c85c01e3d10d24273989a0806a5f86905106c6333d0d3398fd

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