Set-Location

noun

say it: “SET loh-KAY-shun” /sɛt loʊˈkeɪʃən/

The PowerShell command that moves you into another folder, so it becomes the folder you're working in. Its short name is cd.

What is Set-Location?

Set-Location changes the current folder, like cd (its alias).

Set-Location C:\Projects\recipe-box
cd ..

In a sentence

  • “The tutorial said to use Set-Location to go into the project folder before starting the app.”
  • “Set-Location .. took me one folder up.”

Level: Novice · More PowerShell terms at this level

Updated