language-icon Old Web
English
Sign In

File route and name storage method

2007 
A storage method of archive path and name comprises the following steps: establishing a path table, storing the catalog name, the catalog name length and the catalog number of a catalog contained in the path of each archive and the parent catalog number of each catalog in the path table, establishing an archives table, storing the name and the name length of each archive, the number of the catalog in which the archive located and the number of the archive in the archives table, receiving archive numbers sent by application programs, obtaining the name of the archive, the archive name length and the number of the catalog in which the archive is located from the archives table according to the archive number, and obtaining the path of the catalog in which the archive is located, namely the path of the archive, from the path table according to the number of the catalog in which the archive is located, connecting the path of the archive and the name thereof in serial, and sending the character string after connecting in serial to the application programs. The method can be utilized to reduce the application programs as the storage pace for storing the path and the name of the archive.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []