WolframLang: Navigate Directory
show current dir
Directory[]
-
- return current dir path. (like linux
pwd
) - Result does not contain slash.
- return current dir path. (like linux
change dir
SetDirectory[]
-
set current dir to home dir. (like linux
cd
)home dir is the value of
$HomeDirectory
SetDirectory[path]
-
set current dir to path, and also automatically add to dir history represented by
DirectoryStack[]
.(like linux
cd path
, and also auto dopushd
)
goto previous dir
ResetDirectory[]
-
set current dir to previous dir. (like linux
popd
)
show directory history
DirectoryStack[]
-
return a list of directories of previous current directories.
WolframLang, Shell Tasks
- WolframScript Tutorial
- WolframLang: File Name Extension
- WolframLang: Shell Tasks
- WolframLang: Navigate Directory
- WolframLang: List Files (Walk Directory)
- WolframLang: File Path Functions
- WolframLang: Delete Dir
- WolframLang: is File or Dir
- WolframLang: File Exist
- WolframLang: Get File Date
- WolframLang: Get File Size
- WolframLang: Print File Content
- WolframLang: Get File Hash
- WolframLang: Read File
- WolframLang: Write File
- WolframLang: Load a Package or File
- WolframLang: Get Environment Variable
- WolframLang: Date Time
- WolframLang: Find/Replace Script