How to delete all file on disk?) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How to delete all file on disk?)

code search and delete all files

4th Nov 2017, 6:38 PM
Ilya
Ilya - avatar
6 Answers
+ 4
some years ago MS-DOS had "deltree" command but now I think not
4th Nov 2017, 7:08 PM
Daniel
Daniel - avatar
+ 3
Too dangerous Ace :-p
4th Nov 2017, 6:53 PM
Daniel
Daniel - avatar
+ 3
jeje I know but maybe only rm -r / for a second oportunity to think ;-P
4th Nov 2017, 6:58 PM
Daniel
Daniel - avatar
0
for windows
4th Nov 2017, 7:02 PM
Ilya
Ilya - avatar
0
ok senks all)
4th Nov 2017, 7:22 PM
Ilya
Ilya - avatar
0
windows open CMD navigate to the directory in which the file is present using cd command then type the following del ["filename.filetype"] Linux open terminal navigate to the directory in which the file is present using cd command then use rm to remove files in that directory
5th Nov 2017, 4:08 AM
Talluri Saisumanth
Talluri Saisumanth - avatar