Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
FileTools[Filename] - get file name from file path
FileTools[ParentDirectory] - get parent directory from the file path
Calling Sequence
Filename(path)
ParentDirectory(path)
Parameters
path
-
string; file path, relative or absolute
Description
The Filename(path) and ParentDirectory(path) commands return the file name and the parent directory, respectively, of the file referenced by the file path path.
The path path must be syntactically correct, but is not required to correspond to an existing file or directory.
The behavior of this command is dependent on the platform on which it is executed. In particular, the character used to delimit directories in path must correspond to the value of kernelopts(dirsep) on the current platform.
Examples
The following path does not correspond to an existing file.
See Also
FileTools, FileTools[AbsolutePath], FileTools[MakeDirectory]
Download Help Document