SetDirectory• SetDirectory["dir"] sets the current working directory. • SetDirectory sets the current working directory, then returns its full name.
Examples Using InstantCalculatorsWindowsHere is the InstantCalculator for the SetDirectory function. Enter the parameters for your calculation and click Calculate to see the result.
Out[1]= |  |
Note the use of the double backslashes, , in the path string. This is the recommended way of typing a path in Mathematica CalcCenter. MacintoshHere is the InstantCalculator for the SetDirectory function. Enter the parameters for your calculation and click Calculate to see the result. You may need to substitute a directory name if "/Users/Shared" in not available to you.
Out[2]= |  |
Entering Commands DirectlyYou can paste a template for this command via the Text Input button on the SetDirectory Function Controller. Windows
Out[3]= |  |
Macintosh
Out[4]= |  |
|