- 1
How to delete all file on disk?)
code search and delete all files
11 Answers
+ 12
Back in my IT days we had special disks to wipe Windows hard drives. For Linux? We just typed that command in 😎
+ 11
@Daniel Well he asked how to delete ALL files on a disk 😏
+ 10
Well I am not a Windows user, so...
https://stackoverflow.com/questions/1502913/how-to-delete-all-files-and-folders-in-a-folder-by-cmd-call
+ 9
On a Linux shell:
rm -rf /
😎
+ 4
some years ago MS-DOS had "deltree" command but now I think not
+ 3
Too dangerous Ace :-p
+ 3
jeje I know but maybe only
rm -r /
for a second oportunity to think ;-P
+ 1
Put a magnet on your drive. Set it on fire. I guarantee you it will be deleted. Microwave it too but I wouldn't recommend it. Since you weren't specific on the question this is how I am going to answer it.
0
for windows
0
ok senks all)
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
Hot today
Python — File Handling
2 Votes
Help me
0 Votes
What’s wrong?
2 Votes
Question is write a c program to print prime numbers up to n and print the largest number in array.
1 Votes
Achievements on Sololearn
1 Votes
How to draw in the console?
0 Votes