![]() ![]() The "Shred Files" feature is specifically used for deleting files or folders you don't need. Whether you want to delete a single file, multiple files, read-only files, corrupted files, junk files, or delete large files, this utility can help you make it in a quick and safe way.ĭownload the freeware first and see the steps in detail: Advanced tips: Delete files more easilyĪOMEI Partition Assistant Standard, a free yet powerful disk manager designed for Windows 11/10/8/7/XP/Vista users, is a popular file deletion tool. To bypass these limits of using Windows CMD delete files, the following part will introduce you an all-in-one file shredder that lets you delete any file clearly and easily. Besides, without the clear GUI interface, it’s easy to delete wrong files and cause some unexpected errors when missing a letter. Type del %temp%\*.*/s/q and press "Enter" to run the command.Īlthough you can delete files using Windows command line, it's hard to remember different commands for different deletion tasks. Type %SystemRoot%\explorer.exe %temp%\ and hit "Enter" to view temp files on your computer. Using the command line is one of the effective ways to remove temp files. They include temporary files, cache files, log files, and any other useless files. Junk files on the PC are a headache thing for most users. In such a case, you need to force delete the file by the command "Del /f path" and press "Enter". ![]() ![]() If you delete a read-only file in CMD using the above command, you will easily receive an error message saying "Access is denied". Read-only files are one kind of file that is difficult to make operations like copying, moving, and deleting. ▌ Use Windows CMD to delete read-only files For instance, there are two txt files named "note" and "on" on the desktop, just input del note.txt on.txt to delete them at once. Next, type Del filname1 filename2, etc and press "Enter". For example, if I want to delete several files on the desktop, just input cd C:\Users\AOMEI-PC-012\Desktop(replace the path with your real path) and hit on "Enter" button. Type cd path to go to where the files to delete are located. ![]() If you plan to delete multiple specific files, you can manually type the file names. ▌ Use Windows CMD to delete multiple files For example, input rmdir C:\Users\AOMEI-PC-012\Desktop\work will delete the folder named "work" on the desktop. If you want to delete a folder in CMD, replace del with rmdir. ✍ Note: Don't forget the space between Del and path. ▌ Use Windows CMD to delete a single fileĭeleting a single file is common to see and the command is very simple, just input Del path and press "Enter". So, think twice before performing Windows delete file CMD. That is to say, you cannot recover them once the deletion commands are committed. In the first place, type “cmd” in the search bar, right-click the result and select "Run as Administrator" to open Command Prompt.Īttention: Please note that files deleted by Windows CMD are erased permanently instead of being moved to the Recycle Bin. To help you delete files using Windows command line quickly and successfully, we'll introduce you the commands according to different situations. How to use command to delete files in Windows? Refer to the following text to learn a detailed tutorial on Windows CMD delete file. With different deletion commands in Command Prompt, you can delete any files from your computer. If you have trouble deleting files in Windows the regular way, inputting a deletion command line in CMD can delete files very fast. CMD, also called Command Prompt, is a Windows application that works as a command-line interpreter, allowing you to manage your disks(including creating/deleting/ formatting partition, converting MBR to GPT, etc), troubleshoot Windows issues, solving computer problems, and so on. ![]()
0 Comments
Leave a Reply. |