Jump to content



Photo
Answered Go to the full post

  • Please log in to reply
3 replies to this topic

#1 ady199

ady199

    Neowinian

  • Joined: 25-October 01

Posted 09 May 2014 - 20:11

Can anyone please let me know what software I can use to search and delete multiple instances of a file extension in Windows 8.1.

 

Thanks in advance 



Best Answer sc302 , 09 May 2014 - 20:17

winkey + r

cmd

cd\

del /s /q *.extension

-----------------------------------------------------------

 

so if I wanted to delete all of the files that end in doc on my computer I would type this in at a command prompt when at the root of c.

 

del /s /q *.doc

 

 

-----------------------------------------------------------

 

 

fyi

 


del
Deletes one or more files.

DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names

  names         Specifies a list of one or more files or directories.
                Wildcards may be used to delete multiple files. If a
                directory is specified, all files within the directory
                will be deleted.

  /P            Prompts for confirmation before deleting each file.
  /F            Force deleting of read-only files.
  /S            Delete specified files from all subdirectories.
  /Q            Quiet mode, do not ask if ok to delete on global wildcard
  /A            Selects files to delete based on attributes
  attributes    R  Read-only files            S  System files
                H  Hidden files               A  Files ready for archiving
                I  Not content indexed Files  L  Reparse Points
                -  Prefix meaning not

If Command Extensions are enabled DEL and ERASE change as follows:

The display semantics of the /S switch are reversed in that it shows
you only the files that are deleted, not the ones it could not find.

Go to the full post



#2 sc302

sc302

    Neowinian Senior

  • Tech Issues Solved: 36
  • Joined: 12-July 05
  • Location: NJ, USA

Posted 09 May 2014 - 20:17   Best Answer

winkey + r

cmd

cd\

del /s /q *.extension

-----------------------------------------------------------

 

so if I wanted to delete all of the files that end in doc on my computer I would type this in at a command prompt when at the root of c.

 

del /s /q *.doc

 

 

-----------------------------------------------------------

 

 

fyi

 


del
Deletes one or more files.

DEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names
ERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] names

  names         Specifies a list of one or more files or directories.
                Wildcards may be used to delete multiple files. If a
                directory is specified, all files within the directory
                will be deleted.

  /P            Prompts for confirmation before deleting each file.
  /F            Force deleting of read-only files.
  /S            Delete specified files from all subdirectories.
  /Q            Quiet mode, do not ask if ok to delete on global wildcard
  /A            Selects files to delete based on attributes
  attributes    R  Read-only files            S  System files
                H  Hidden files               A  Files ready for archiving
                I  Not content indexed Files  L  Reparse Points
                -  Prefix meaning not

If Command Extensions are enabled DEL and ERASE change as follows:

The display semantics of the /S switch are reversed in that it shows
you only the files that are deleted, not the ones it could not find.



#3 OP ady199

ady199

    Neowinian

  • Joined: 25-October 01

Posted 09 May 2014 - 20:23

Perfect - Many Thanks for your help



#4 metallithrax

metallithrax

    I saw you earlier, with the hairy stick....

  • Tech Issues Solved: 2
  • Joined: 24-May 04
  • Location: Wherever I am at his moment in time.
  • OS: Windows 8
  • Phone: Sony Xperia U (android 4.0.4)

Posted 09 May 2014 - 20:24

Use search to find all instances of the extension, then select all and delete.