Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2008-10-01
BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] There are many ways to delete files in the disk. Windows system also has its own deletion method. Execute in the memory and refuse to delete the operation, which brings certain difficulties to virus removal. In addition, the files in use by the user cannot be deleted.
On the other hand, some malicious programs will protect some files so that users cannot delete these files. In this case, the existing methods for deleting files cannot achieve the purpose of deleting files.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for deleting files in FAT roll

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The related canceling method for FAT file comprises: a. positioning the file directory; b. modifying the first character of short filename directory into hexadecimal '0xE5', and storing; c. modifying the first character of long filename directory into hexadecimal '0xE5', and storing; d. positioning all FAT items according to file initial cluster information to obtain the cluster chain; e. filling all FAT items of the file with hexadecimal '0x00'. This invention can cancel file even the file is used.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method for deleting files in a FAT volume. Background technique [0002] There are many ways to delete files in the disk. Windows system also has its own deletion method. Execute in memory and refuse to delete operations, which brings certain difficulties to virus removal. In addition, files in use by users cannot be deleted. On the other hand, some malicious programs will protect some files so that users cannot delete these files. In this case, the existing method for deleting files cannot achieve the purpose of deleting files. Contents of the invention [0003] The invention overcomes the disadvantages in the prior art and provides a method for deleting the files in use in the FAT volume. [0004] In order to solve the above technical problems, the following technical solutions are implemented: [0005] The method for deleting files in the FAT volume comprises the fo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 涂彦晖
Owner BEIJING KINGSOFT INTERNET SECURITY SOFTWARE CO LTD