Dir. bat

Source: Internet
Author: User

 

@ REM the BAT file name must not be "tree. Bat". Otherwise, the Tree Command will be effective and I don't know why
@ Rem may be because the system directory contains "tree.com". The system will be confused.
@ REM you can use "dir. Bat" as the file name.
@ Echo off
Rem generates a beautiful structure tree in the current directory
Tree/F> 1.txt

Rem is like the Dir command, but each sub-directory file is also listed
DIR/S> 2.txt

Rem briefly lists the current directory files
DIR/D> 3.txt

After running this batch, we can find that 1.txt, 2.txt, and 3.txt are found in the current dir.batw.directory.
Text file.
The content is as follows:

1. txt:

Folder path list
The serial number of the volume is 78fd-4761.
C :.
1. txt
2. txt
2000xp stop printing. bat
3. txt
Dir. bat
Sxs.exe killing. bat
SZ. reg to Reg. bat. bat
Delete _ desktop. ini. bat from all folders.
Delete files of the same size and type. bat
Delete the default share of all partitions. bat
Copy cwindows. To the current directory and display the progress. bat
Open the directory. BAT to which the shortcut points
Batchcompute reads the value under the run of the Registry. bat
By extension. bat
Display drive C ~ Z disk. bat
Enumerate the current directory and subdirectory size. bat
Enumeration display. bat
Find the latest file. bat
Space occupied by each directory. bat
Basketball and flying man-fire version. cmd
Terminate process. bat
Unlock registry. bat
Output inverted text. bat
Lock registry. bat

No subfolders

2. txt:

The volume in drive C is not labeled.
The serial number of the volume is 78fd-4761.

C:/Documents and Settings/456/desktop/downbank0226 pizhuli/directory of other classes

2008-09-03 21:36 <dir>.
<Dir> ..
661 1.txt
2008-09-03 21:39 0 2.txt
2006-10-18 127 2000xp stop printing. bat
741 3.txt
328 dir. bat
2,072 sxs.exe killing. bat
2006-11-10 127 Sz. reg to Reg. bat. bat
252 delete all _ desktop. ini. BAT in all folders
327 delete files of the same size and type. bat
1,987 delete default share of all partitions. bat
401 copy cwindows. To the current directory and display the progress. bat
398 open the shortcut to the directory. bat
145-10-20 batch processing reads the value under the run of the Registry. bat
By extension. bat
104 display drive C ~ Z disk. bat
2006-11-29 enumeration current directory and subdirectory size. bat
180-10-20 enumeration display. bat
589 find the latest file. bat
302 space occupied by each directory. bat
11,745 basketball and flying man/fire version. cmd
2006-10-28 178 end process. bat
173 unlock registry. bat
208 output inverted text. bat
149 lock registry. bat
24 files, 21,308 bytes

Total number of files listed:
24 files, 21,308 bytes
2 directories, 1,915,686,912 available bytes

3. txt:

The volume in drive C is not labeled.
The serial number of the volume is 78fd-4761.

C:/Documents and Settings/456/desktop/downbank0226 pizhuli/directory of other classes

[.]
[...]
1. txt
2. txt
2000xp stop printing. bat
3. txt
Dir. bat
Sxs.exe killing. bat
SZ. reg to Reg. bat. bat
Delete _ desktop. ini. bat from all folders.
Delete files of the same size and type. bat
Delete the default share of all partitions. bat
Copy cwindows. To the current directory and display the progress. bat
Open the directory. BAT to which the shortcut points
Batchcompute reads the value under the run of the Registry. bat
By extension. bat
Display drive C ~ Z disk. bat
Enumerate the current directory and subdirectory size. bat
Enumeration display. bat
Find the latest file. bat
Space occupied by each directory. bat
Basketball and flying man-fire version. cmd
Terminate process. bat
Unlock registry. bat
Output inverted text. bat
Lock registry. bat

24 files, 22,305 bytes
2 directories, 1,915,686,912 available bytes

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.