Mathematica > ディレクトリとその操作 >

ParentDirectory

ParentDirectory[]
現行ディレクトリの親ディレクトリを与える.
ParentDirectory["dir"]
ディレクトリdir の親ディレクトリを与える.
  • ParentDirectoryは,列としてディレクトリのフルネームを返す.
  • ParentDirectoryは,階層型のファイルシステムをサポートするオペレーティングシステムに限って機能する.
バージョン 2 の新機能
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team