["python","python-3.x","anaconda"]
How to make new anaconda env from yml file

I installed anaconda in C:\Program Files\Anaconda3. Every time to create a new env, I just do cmd and write: conda create --name envname python=3.5 But how can i install a new env from the "environments.yml" file
The above answers did not work for me with conda 4.7.12, but this (from the Anaconda documentation) did: conda env create -f environment.yml