2 Jan 2007 at 19:33 #1 Faithless Faithless Permabanned Joined 24 Nov 2006 Posts 560 Chaps - I want to delete all .jpg images and .mp3s from a computer using DOS. Rather than going though each directory individually, whats the command for searching and deleting all from C:\? Something -s -d or somthing like that? Thanks
Chaps - I want to delete all .jpg images and .mp3s from a computer using DOS. Rather than going though each directory individually, whats the command for searching and deleting all from C:\? Something -s -d or somthing like that? Thanks
2 Jan 2007 at 19:35 #2 snagrat snagrat Associate Joined 18 Jun 2003 Posts 188 Location Wellington, Somerset try del c:\*.mp3 /s edit: add /q to so you don't have to yes everytime
2 Jan 2007 at 19:40 #3 Burnsy2023 Burnsy2023 Man of Honour Joined 17 Nov 2003 Posts 36,747 Location Southampton, UK snagrat said: try del c:\*.mp3 /s edit: add /q to so you don't have to yes everytime Click to expand... That'll only delete files in the root directory and not subfolders. Burnsy
snagrat said: try del c:\*.mp3 /s edit: add /q to so you don't have to yes everytime Click to expand... That'll only delete files in the root directory and not subfolders. Burnsy
2 Jan 2007 at 19:41 #4 snagrat snagrat Associate Joined 18 Jun 2003 Posts 188 Location Wellington, Somerset burnsy2023 said: That'll only delete files in the root directory and not subfolders. Burnsy Click to expand... you sure? try it and see what happens
burnsy2023 said: That'll only delete files in the root directory and not subfolders. Burnsy Click to expand... you sure? try it and see what happens
2 Jan 2007 at 19:52 #5 Faithless Faithless Permabanned OP Joined 24 Nov 2006 Posts 560 Thats the one. Ta
2 Jan 2007 at 20:01 #6 Roland0 Roland0 Associate Joined 9 Nov 2005 Posts 767 Location places.. old school