SyntaxFix
Write A Post
Hire A Developer
Questions
Handy if you are already in the directory you want to add to PATH:
set PATH=%PATH%;%CD%
It works with the standard Windows cmd, but not in PowerShell.
For PowerShell, the %CD% equivalent is [System.Environment]::CurrentDirectory.
%CD%
[System.Environment]::CurrentDirectory