Windowsxp clever search file 〖zheast〗 I often be searched by the windowxp file to search the snail speed and annoyed. I look for a file for ten minutes. Sometimes I find the file clearly under the folder, I can't find it, I don't know What is the search function of WindowXP. Later I thought of a way, can I create a file name file? When you want to find a file, you will find it in this file name file. After finding its location, then go to the hard drive's corresponding directory, isn't it fast and convenient? First, use the text editing software in the directory you want to save the file name file, build a batch file that suffix BAT by editing the following content: ------------------------------------------------------------------ --------------------- @ echo offdir [Drive:] [PATH] [/ s]> filename.txt ----------- ---------------------------- The above file is saved as Dirfile.bat, where the first line @echo off is just not to display DOS The prompt is not possible. Then, execute it directly under WindowsXP, such as editing a Dirfile.bat file for "DIE E: / S> filename.txt", you can find a named FileName.txt in the root directory of the E disk The text file contains all directories, file names, file size, file establishment date, etc. on all E disk. When you need to find a file, let's perform Dirfile.bat, refresh the contents in Filenaem.txt, then find the corresponding location of the file you need to find in the filename.txt file. Below is the full parameters of the DIR command, using these parameters, file name directory files such as sorting, classification, etc. can be established. Dir [Drive:] [PATH] [filename] [/ a [[:] attributes] [/ b] [/ c] [/ d] [/ l] [/ n] [/ o [[:] Sortorder] ] [/ P] [/ q] [/ s] [:] timefield] [/ w] [/ x] [/ 4]
[Drive:] [PATH] [filename] Specifies the drive, directory, and / or file to be listed.
/ A shows files with specified properties. Attributes D Directory R Read-only File h Hide Files A Prepare file S System File - Indicates "NO" prefix / b Use an empty format (no title information or summary). / C Displays a thousand sizes in the file size. It's the default value. Use / -C to disable the separator display. / D is the same as the width, but the file is listed in the column classification. / L with lowercase. / N new long list format, where the file name is on the right. / O lists the files in a classification order. Sortorder N Press the name (alphabetical order) S Press the extension (from a small to large) D to the date / time (from the first-to-last) g group directory priority - reverse order prefix / P in each information Suspend after the screen. / Q Display the file owner. / S Displays the file in the specified directory and all subdirectory. / T controls the time character domain that is displayed or used to classify. Timefield C creation time A The last access time W The last time / W written last time Wide list format. / X Show short names generated by non-8DOT3 file names. The format is / n format, short names in front of the long name. If there is no short name, a blank is displayed in its position. / 4 Displayed by four digits can be preset in the DIRCMD environment variable. Replace the preset switch by adding a prefix-(dash). For example, / - w.