[question]Command Prompt Windows 7

1.How can I delete all the files in a drive?
2.How can I delete all the files in a folder?
3.Whats the difference between a & b below:
a. C:\new>rd hello.txt
b. C:\new>del hello.txt

I guess...
"del" is for deleting txt,document while "rd" is for deleting folders?
I dont know if thats correct..
cause everytime that i'll type C:\new>del myfile (myfile is a folder) it shows " C:\new\myfile\*, Are you sure <Y/N>? (click 'y'..enter..) But myfile folder is still there.
Topic archived. No new replies allowed.