When deleting files or folders in Windows, the default delete behaviour is for the file or folder to be moved to the recycle bin. Widows has a provided graphical interface to do this. But if you want to delete the file using Command Prompt, then you can do that as well. Its important to note that when you delete files using Command Prompt, they do not get soft deleted to Recycle Bin, Instead they are permanently deleted.
- Open the “Command Prompt” from “Start” menu or by shortcut key “Windows Logo + R”.
- Type cmd in “Command Prompt” and hit Enter to open “Command Prompt” window.
- Now type del filename to delete a file.
- Here filename is full path to the file including extension. e.g if you have a text file in C:/ directory with name hello.txt then type del C:/hello.txt
- Hit Enter to delete the file.
Incoming search terms:
- delete files through cmd c# (1)
- pdf hacking code in command prompt (1)