Copying files is a bit complicated, and deleting files is easy. Look, if I want to delete the a.bat file, type del a.bat to complete the task.
Simple, the format of the del command is as simple as: del filename. To delete a file in the current directory, enter the del space followed by the file name. Now you can try to delete the unwanted files.
To delete a type of file, you can use a wildcard. For example, del *.tmp deletes all files whose extension is tmp.
You can also delete all the files in the current directory. The command is very simple: del *.* or del .
At this point, the computer will tell you that all files in this directory will be deleted and ask if you want to continue.
If you don't want to delete, type n(no) If you really want to delete, type y(yes).
del *.* or del . Generally used to delete all files in the directory before deleting the subdirectory. (Remember, use with caution for beginners)
The del command can also delete files in non-current directories, such as del a:\\bmp\\sea.bmp, which is the sea.bmp in the bmp directory on the A disk. File deletion. You can try to delete all the files in the temp directory of the C drive. The correct way is to type del c:\\temp\\. or del c:\\temp\\*.* and then enter y.
Deleting useless files can increase the disk's available space. But before deleting the file, you'd better know the purpose of the file, and you can delete it if you have no use, otherwise you will regret it. Especially when using del . and del *.*, you should pay more attention because the files in a directory will be deleted.
is usually used. We usually use the C drive. After the boot, the prompt is displayed as C:, but some
Recently, the author has asked such a question in the major IT forums, Baidu know
copy is the meaning of copying in English. The so-called copy is the original file without any chang
Some friends on the hard disk partition and how to use Fdisk to partition and use the magician to ad
Detailed use of the Fdisk command to partition and adjust the partition
Common system command line for third-level PCs
Detailed windows system shutdown command
Strange! Encrypt with Vista cipher command
Don't care! Protect your "command prompt"
Make the command prompt more intimate
How to paste the cmd command prompt
Modify the command to make the Windows disk cleaning function more powerful
Windows Defender command line parameters explain
When the SYS command is used, the
Teach you to open the command line window as an administrator
After upgrading Win10 system, how to do a recovery partition? How to do
Method for identifying a true two-line host server
How to retrieve EFS encrypted files in Windows XP system
What should I do if the WinXP network cable is removed? Solution for network cable being pulled out
How to maximize the edge of "disturbing people"
Win2k "secret weapon" DNS tool (1)
Windows 7 all new shortcuts list
Detailed explanation of the win2003 network neighbors only see their reasons