The rm command provides a strong option (-R or –r), also called the recursive option.Deleting a Directory as well as Files in it Therefore, to erase a director called Archives, you need to operate the command below: rmdir is a special command used to delete directories. You can't erase a directory utilizing the rm command. If you attempt to operate the rm command on a folder, the message below will appear: Deleting Files/Folders Using the Command Line on MacĮrasing folders or directories varies a bit. Video Tutorial on How to Recover Deleted Files on Windows 10/8/7 Easily?įree Download | Win Windows Version Free Download | Mac Mac Version Part 3. wav extension, you should type ‘del C: Users/username/Desktop/*.wav.’ Deleting For instance, in case you desire to delete every file on your desktop which has a. DEL provides support for wildcards characters also, like an asterisk (*).If you are not in the appropriate directory, you can type ‘cd’ to the directory or key in the complete file path to be erased.įor instance, in case you want to erase ‘file.txt’ you need to key in ‘del file.txt.’ If the file is situated on the desktop, key in ‘C: /Users/username/Desktopfile.txt’ in case you are one directory on top. It will be the same as ‘C:/myfilename.ext.’
Click on the right and find properties, and it will be present on the key page.
In case you are not aware of what an extension file is, key in the file inside a kind of search box (this is determined by the computer you have and the kind of search available to you). If you are presently in the directory that contains the file, you are ready to proceed.
Advantages of Erasing Files Using the Command Line Tips and Tricks for Using CMD Delete File Deleting Files/Folders Using the Command Line on Mac Deleting Files and Folders Using Command Prompt on Windows