Delete all .jpg files using command prompt...how?

Permabanned
Joined
17 Jan 2006
Posts
1,971
Location
Haskins
if I go to Run>cmd and at C:\ type del *.del it says 'Could not find C:\*.jpg

I thought that would DEL all jpg files even if there were in directories?

Is there another to way or am i doing it wrong?

Thanks
 
no that will only work in the root of c:\ not any folders included in c:\

why don't you just goto search, find *.jpg on c:\ wait ten mins till its done, select all, delete... sorted!

$c8t@
 
$c8t@ said:
no that will only work in the root of c:\ not any folders included in c:\

why don't you just goto search, find *.jpg on c:\ wait ten mins till its done, select all, delete... sorted!

$c8t@

I've done that, but I keep getting Access Denied when i try to delete!
 
the method posted by $c8t@ is safer,
you can still r.click the files (or groups of) and reset the read flag if you want.
- at least you can see what you are deleting

bear in mind that some programs use .jpg files and they could stop working if you delete them.


.
 
welcome [GSH]Quest


to get the variables of a command, type /? after it..

so

del /? tells you what Quest just said...



this is one of the best websites i've found for commands (win / oracle / linux / mac)

http://www.ss64.com/
 
Back
Top Bottom