Now let us go back in time when dinosaurs wrote .BAT files and find out how they should have done it in PowerShell
%PATH%
becomes
get-content env:PATH
SET FOO=Bar
becomes
set-content env:FOO
Now let us go back in time when dinosaurs wrote .BAT files and find out how they should have done it in PowerShell
%PATH%
becomes
get-content env:PATH
SET FOO=Bar
becomes
set-content env:FOO
$env:Path += “;c:\yet\another\dir”
Greetings /\/\o\/\/