You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

deactivate.bat 347B

5 years ago
123456789101112131415161718192021
  1. @echo off
  2. if defined _OLD_VIRTUAL_PROMPT (
  3. set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
  4. )
  5. set _OLD_VIRTUAL_PROMPT=
  6. if defined _OLD_VIRTUAL_PYTHONHOME (
  7. set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
  8. set _OLD_VIRTUAL_PYTHONHOME=
  9. )
  10. if defined _OLD_VIRTUAL_PATH (
  11. set "PATH=%_OLD_VIRTUAL_PATH%"
  12. )
  13. set _OLD_VIRTUAL_PATH=
  14. set VIRTUAL_ENV=
  15. :END