Mathematica 9 is now available

SetDirectory

SetDirectory["dir"] sets the current working directory.

SetDirectory sets the current working directory, then returns its full name.

Examples

Using InstantCalculators

Windows

Here is the InstantCalculator for the SetDirectory function. Enter the parameters for your calculation and click Calculate to see the result.

Note the use of the double backslashes,  , in the path string. This is the recommended way of typing a path in Mathematica CalcCenter.

Macintosh

Here 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.

Entering Commands Directly

You can paste a template for this command via the Text Input button on the SetDirectory Function Controller.

Windows

Macintosh



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.