Skip to content

Instantly share code, notes, and snippets.

@rwp0
Last active January 31, 2024 21:06
Show Gist options
  • Save rwp0/29b7e741d13cd5f0fb1ce49b842f3115 to your computer and use it in GitHub Desktop.
Save rwp0/29b7e741d13cd5f0fb1ce49b842f3115 to your computer and use it in GitHub Desktop.
Put Strawberry Perl in User Path in Windows

See "%userprofile%\Downloads\strawberry-perl-5.38.2.2-64bit-portable\README.txt"

 * If you want to use Strawberry Perl Portable not only from portableshell.bat,
  add c:\myperl\perl\site\bin, c:\myperl\perl\bin, and c:\myperl\c\bin
  to PATH variable
sysdm.cpl.EditEnvrionmentVariables
  • %userprofile%\Downloads\strawberry-perl-5.38.2.2-64bit-portable\perl\site\bin
  • %userprofile%\Downloads\strawberry-perl-5.38.2.2-64bit-portable\perl\bin
  • %userprofile%\Downloads\strawberry-perl-5.38.2.2-64bit-portable\c\bin

Issue with setx:

WARNING: The data being saved is truncated to 1024 characters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment