ResetDirectory

ResetDirectory[]
resets the current working directory to its previous value.

DetailsDetails

Introduced in 1991
(2.0)