[Issue 21454] New: PATH variable not updated
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 4 10:04:28 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21454
Issue ID: 21454
Summary: PATH variable not updated
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: agenthugo43 at gmail.com
When installing dmd via .exe PATH is not updated in environment variables
resulting in:
```
'dmd' is not recognized as an internal or external command,
operable program or batch file.
```. Is there a solution to this?
This is the tree in case something broke during the installation:
```
└───dmd2
├───html
│ └───d
│ ├───articles
│ ├───changelog
│ ├───css
│ ├───foundation
│ ├───images
│ │ ├───ddox
│ │ └───orgs-using-d
│ ├───js
│ ├───phobos
│ ├───spec
│ └───zlib
├───samples
│ └───d
│ └───mydll
├───src
│ ├───dmd
│ │ ├───dmd
│ │ │ ├───backend
│ │ │ ├───res
│ │ │ └───root
│ │ ├───tests
│ │ └───vcbuild
│ ├───druntime
│ │ ├───.circleci
│ │ ├───.github
│ │ │ └───workflows
│ │ ├───benchmark
│ │ │ ├───aabench
│ │ │ ├───arrayops
│ │ │ ├───extra-files
│ │ │ └───gcbench
│ │ │ └───vdparser.extra
│ │ │ ├───stdext
│ │ │ └───vdc
│ │ │ ├───ast
│ │ │ └───parser
│ │ ├───changelog
│ │ ├───def
│ │ ├───import
│ │ │ ├───core
│ │ │ │ ├───gc
│ │ │ │ ├───internal
│ │ │ │ │ ├───array
│ │ │ │ │ ├───elf
│ │ │ │ │ ├───util
│ │ │ │ │ └───vararg
│ │ │ │ ├───stdc
│ │ │ │ ├───stdcpp
│ │ │ │ ├───sync
│ │ │ │ ├───sys
│ │ │ │ │ ├───bionic
│ │ │ │ │ ├───darwin
│ │ │ │ │ │ ├───mach
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───dragonflybsd
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───freebsd
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───linux
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───netbsd
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───openbsd
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───posix
│ │ │ │ │ │ ├───arpa
│ │ │ │ │ │ ├───net
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ ├───stdc
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───solaris
│ │ │ │ │ │ └───sys
│ │ │ │ │ └───windows
│ │ │ │ │ └───stdc
│ │ │ │ └───thread
│ │ │ └───etc
│ │ │ └───linux
│ │ ├───mak
│ │ ├───src
│ │ │ ├───core
│ │ │ │ ├───gc
│ │ │ │ ├───internal
│ │ │ │ │ ├───array
│ │ │ │ │ ├───elf
│ │ │ │ │ ├───util
│ │ │ │ │ └───vararg
│ │ │ │ ├───stdc
│ │ │ │ ├───stdcpp
│ │ │ │ ├───sync
│ │ │ │ ├───sys
│ │ │ │ │ ├───bionic
│ │ │ │ │ ├───darwin
│ │ │ │ │ │ ├───mach
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───dragonflybsd
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───freebsd
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───linux
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───netbsd
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───openbsd
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───posix
│ │ │ │ │ │ ├───arpa
│ │ │ │ │ │ ├───net
│ │ │ │ │ │ ├───netinet
│ │ │ │ │ │ ├───stdc
│ │ │ │ │ │ └───sys
│ │ │ │ │ ├───solaris
│ │ │ │ │ │ └───sys
│ │ │ │ │ └───windows
│ │ │ │ │ └───stdc
│ │ │ │ └───thread
│ │ │ ├───etc
│ │ │ │ └───linux
│ │ │ ├───gc
│ │ │ │ └───impl
│ │ │ │ ├───conservative
│ │ │ │ ├───manual
│ │ │ │ └───proto
│ │ │ └───rt
│ │ │ ├───backtrace
│ │ │ └───util
│ │ │ └───container
│ │ └───test
│ │ ├───aa
│ │ │ └───src
│ │ ├───allocations
│ │ │ └───src
│ │ ├───betterc
│ │ │ └───src
│ │ ├───config
│ │ │ └───src
│ │ ├───coverage
│ │ │ └───src
│ │ ├───cpuid
│ │ │ └───src
│ │ ├───cycles
│ │ │ └───src
│ │ ├───exceptions
│ │ │ └───src
│ │ ├───gc
│ │ ├───hash
│ │ │ └───src
│ │ ├───imports
│ │ │ └───src
│ │ ├───init_fini
│ │ │ └───src
│ │ ├───profile
│ │ │ └───src
│ │ ├───shared
│ │ │ └───src
│ │ ├───stdcpp
│ │ │ └───src
│ │ ├───thread
│ │ │ └───src
│ │ ├───typeinfo
│ │ │ └───src
│ │ ├───unittest
│ │ └───uuid
│ └───phobos
│ ├───.circleci
│ ├───changelog
│ ├───etc
│ │ └───c
│ │ ├───odbc
│ │ └───zlib
│ ├───std
│ │ ├───algorithm
│ │ ├───container
│ │ ├───datetime
│ │ ├───digest
│ │ ├───experimental
│ │ │ ├───allocator
│ │ │ │ └───building_blocks
│ │ │ └───logger
│ │ ├───internal
│ │ │ ├───digest
│ │ │ ├───math
│ │ │ ├───test
│ │ │ └───windows
│ │ ├───net
│ │ ├───range
│ │ ├───regex
│ │ │ └───internal
│ │ ├───uni
│ │ └───windows
│ └───test
└───windows
├───bin
├───bin64
├───lib
├───lib32mscoff
│ └───mingw
└───lib64
└───mingw
```
--
More information about the Digitalmars-d-bugs
mailing list