Actions

Lookup

Commands(windows) Short description Equivalent
PowerShell
macOS
START Start a program, command or batch file • Invoke-Item
Start-Process
open
DEL Delete one or more files • rm
DIR Display a list of files and folders • ls
HELP Online Help Get-Help man

System Environment Variable

Set the Environment Variable:

Open Command Prompt as Administrator: Press Windows + X and select “Command Prompt (Admin)” or “Windows PowerShell (Admin)” to open a terminal with administrator privileges.

$Env:PATH

nicely printed

$Env:PATH -split ';' | ForEach-Object { $_ }
for %G in ("%PATH:;=" "%") do @echo %G

with filter

for %G in ("%PATH:;=" "%") do @echo %G | find "conda"

Set the Environment Variable: You can use the setx command to add the directory containing conda.bat to your system's Path environment variable. The command format is as follows:

setx PATH "%PATH%;C:\ProgramData\anaconda3\condabin"

Remove a PATH

FAQ:

References

Footnotes

  1. DIR Display a list of files and folders •

  2. https://github.com/jinsanity07git/jinsanity07git.github.io/issues/9