How to use the cmd command prompt del command to delete the file? The cmd command prompt is very powerful, it can complete the specified query, modify, delete and other tasks through some simple commands. Next, Xiaobian mainly shares the common methods of the del command in cmd.
1. Open the cmd command prompt: Take the Windows 7 operating system as an example, click “Start”, enter “cmd” in the "Search programs and files" box, Click “cmd.exe” to bring up the cmd command prompt window.
2. Deleting a single specified file Step 1: Delete the abc.txt file shown in the figure below, you need to type "ld E:\\" in the command prompt window. A\\1\\abc.txt” command, the meaning of this command is to delete the abc.txt file in subfolder 1 of folder A under hard disk E.
3. Delete a single specified file. Step 2: Click the “Enter” button to execute the command. We found that abc.txt has been deleted.
4. When deleting a single specified file, it is displayed "Whether to delete". Tip: If you want to delete the abc.txt file, it is displayed "Whether to delete" or not; In the character window, type the “del /p E:\\A\\1\\abc.txt” command, click the Enter key to execute the command, and the window will display "E:\\A\\1\\abc.txt" to be deleted. (Y/N)? ”, type “Y”, click the Enter key, abc.txt is deleted. /p means to confirm the operation when deleting the specified file.
5. Delete the specified files in all subdirectories: To delete all the text files named abc under the E disk, you need to type “del /s E in the command prompt window: \\abc.txt” command, click the Enter key to execute the command, the window will display all the specified files that have been deleted according to the command requirements. /s means to delete the specified file in all subfolders.
6. When deleting the specified files in all subdirectories, it is displayed "Whether to delete". Tip: Delete all text files named abc under E disk and display "Whether to delete" You need to type the “del /p /s E:\\abc.txt” command in the command prompt window, click the Enter key to execute the command, and follow the prompts.
7, want to understand the usage of a command in cmd, just type "“/?” after the command, as shown in the following figure, type "ld/;del/?” After the command, all usages of the del command are displayed on the form.
Win7 system C disk space transfer temporary file setting method: 1, right click on the computer, se
January 16 news The new week, Microsoft is theoretically preparing for the new version of Win10 prev
In addition to Win10 PC, Microsoft HoloLens also began to push Win10 first anniversary update system
November 9 news, Microsoft pushed the Win10 PC first anniversary update official version 14393.447 t
Solve 0x800F0A12 when installing Win7 system
Win7 disk defragmentation has been stopped at 0% solution
How to modify the registry to improve the win7 system toolbar switching speed
Windows7 desktop gadgets disappeared quickly recovery method
Win10 system bottom left search bar click Win + C no response solution
Win10 adds biological verification function: face, iris, fingerprint can be registered before
Win10 PC first anniversary update official version 14393.447 update patch KB3200970 today push
Win7 language bar disappeared how to do
WP8.1 can not upgrade Win10 Mobile Preview Edition 10512 how to do?
Microsoft plans to launch Win10 RTM in June to prepare students for school
Detailed explanation of the reason for the automatic power off of the game computer
Win 2003 comes with a firewall setting
Windows XP system "advanced" attribute combat application
Win7 system installation software prompt is not a valid win32 application solution
Win10 Preview 14251 Known Issues Summary
Win8 system user prompts "Scanning and repairing drive" solution when booting
Win10 sets Monday as the first day of the week. Method
What if the Win8 system network is restricted or not connected?