Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
FileTools[TemporaryFilename] - return a filename that may be used for a temporary file
Calling Sequence
TemporaryFilename(prefix)
Parameters
prefix
-
(optional) string prefix for the temporary name
Description
The TemporaryFilename() command returns a string that can be used as the name of a temporary file. At the time of the call to TemporaryFilename no such file exists on the file system. This filename is of the form , where each is replaced with a random character.
The TemporaryFilename(prefix) command returns a string of the form where each is replaced with a random character.
The filename returned TemporaryFilename() does not exist at the time of the call to TemporaryFilename. However, it is possible that another process may create it between the call to TemporaryFilename and when the file is actually opened.
If no temporary file can be created, an exception is raised.
Examples
See Also
file_types, FileTools, FileTools[Binary][Close], FileTools[Binary][OpenTemporaryFile], FileTools[TemporaryDirectory], FileTools[Text][Close], FileTools[Text][OpenTemporaryFile], IO_errors
Download Help Document