Method for deleting files in FAT roll
A file and file name technology, applied in special data processing applications, instruments, electronic digital data processing, etc., can solve problems such as failure to delete files, difficulty in virus removal, and inability to delete files.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0013] Refer below figure 1 The process and working principle of the method of the present invention are introduced.
[0014] The method for deleting files in the FAT volume comprises the following steps:
[0015] 1. Locate the directory entry of the file according to the file path input by the user; in the FAT volume, files (folders) are managed in the form of directory entries, and each file (folder) has its own directory entry, which includes Item information such as file (directory) name, file start cluster information, file size, and creation time. Suppose the path of the file to be deleted is D:\food\milk.doc, that is, find the directory item of the milk.doc file.
[0016] 2. Change the first character of the short file name directory item in the file directory item to the hexadecimal value "0xE5" and save it; because some operating systems do not support file names longer than 8 bytes, in order to be compatible with these systems , for files whose filename length is ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 