SetDirectory
SetDirectory["dir"] sets the current working directory to dir.
SetDirectory[] sets it to your home directory.
Examples
Change directory:
SetDirectory["/path/to/folder"]
(* "/path/to/folder" *)Return to home:
SetDirectory[]
(* "/Users/username" *)Please visit the official Wolfram Language Reference for more details.