Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Directories & Directory Operations >

DirectoryName

DirectoryName["name"]
extracts the directory name from the specification for a file.
  • If name contains no directory specification, DirectoryName["name"] returns "".
New in 3
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team