• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# File Management
2
3### Introduction
4
5This sample shows file management functions, such as creating a file, changing a file name, writing a file, reading a file, and deleting a file.
6
7### Usage
8
91. Touch **Create fileIo** to create a file. After the file is created successfully, the absolute path of the file is displayed.
10
112. Touch **Rename fileIo** to change the file name. After the operation is successful, the absolute path of the new file is displayed.
12
133. Touch **Write fileIo** to write data to the file. After the data is written, the content written is displayed.
14
154. Touch **Read fileIo** to read file information. After the operation is successful, the content read is displayed.
16
175. Touch **Delete fileIo** to delete the file. A message is displayed, indicating that the file is deleted successfully.
18
19### Constraints
20
21This sample can only be run on standard-system devices.
22