ResetDirectory
resets the current working directory to its previous value.
Details
- Successive calls to ResetDirectory yield earlier and earlier current directories.
- ResetDirectory uses the directory stack given by DirectoryStack[].
- ResetDirectory removes the last element from the directory stack, and makes the second‐to‐last element current.
Examples
Basic Examples (1)
SetDirectory pushes a directory onto the DirectoryStack[]:
ResetDirectory pops a directory from the DirectoryStack[]:
Wolfram Research (1991), ResetDirectory, Wolfram Language function, https://reference.wolfram.com/language/ref/ResetDirectory.html.
Text
Wolfram Research (1991), ResetDirectory, Wolfram Language function, https://reference.wolfram.com/language/ref/ResetDirectory.html.
CMS
Wolfram Language. 1991. "ResetDirectory." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ResetDirectory.html.
APA
Wolfram Language. (1991). ResetDirectory. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ResetDirectory.html