Useful Windows Commands in day today Programming


cmd /k cd C:/wamp/bin/php/php7.1.16

echo %path%

setx path "%path%;C:/wamp/bin/php/php7.1.16"
  1. Will open desired path in Window directly in CMD
  2. Will display the Environment Variable set in your Windows Machine
  3. Will add new path in yourEnvironment Variables set in your Windows Machine. Note : Before running this keep the copy of Env variable path in txt.

Share on Facebook