Alternative to Windows Search For Files + Duplicates Search

(追記) (追記ここまで)
Main Page
Blog
Search
FAQ
TOP 10
Pad Files
Contact
About...
Donate
All Utilities
Password Tools
System Tools
Browser Tools
Programmer Tools
Network Tools
Outlook/Office
64-bit Download
Panel
Forensics
Pre-Release Tools
Articles

(追記) (追記ここまで)
SearchMyFiles v3.31 - Alternative to 'Search For Files And Folders' module of Windows + Duplicates Search
Copyright (c) 2009 - 2024 Nir Sofer

Related utilities

See Also

Description

SearchMyFiles is an alternative to the standard "Search For Files And Folders" module of Windows. It allows you to easily search files in your system by wildcard, by last modified/created/last accessed time, by file attributes, by file content (text or binary search), and by the file size. SearchMyFiles allows you to make a very accurate search that cannot be done with Windows search. For Example: You can search all files created in the last 10 minutes with size between 500 and 700 bytes.
After you made a search, you can select one or more files, and save the list into text/html/csv/xml file, or copy the list to the clipboard.

SearchMyFiles is portable, and you can use it from a USB flash drive without leaving traces in the Registry of the scanned computer.

Search Files Windows Tool

System Requirements

This utility works on any version of Windows starting from Windows 2000 and up to Windows 11. Both 32-bit and 64-bit systems are supported.

Download links are on the bottom of this page

Versions History

Future Versions

The following features might be added in future versions, according to user requests and my own ideas:

Using SearchMyFiles

SearchMyFiles doesn't require any installation process or additional DLL files. In order to start using it, simply run the executable file - SearchMyFiles.exe
After running it, the 'Search Options' dialog-box is displayed. Select the base folders or drives that you want to search, the wildcard, and other search option that you need. After choosing the right search option, click 'Ok' in order to start the search. While in search process, the found files will be displayed in the main window. If you want to stop the search, you can simply click the 'Stop' menu.

After the search is finished, you can select one or more files, and then save the list into text/csv/html/xml file by using the 'Save Selected Items' option. You can also select a single file and open it with the default program by using the 'Open Selected File' option.

Search Options

Here's a small explanation about all available search options:

Searching inside OneDrive folder

In order to search inside OneDrive folder, you have to turn on the following option: Scan NTFS symbolic links/junction points

Getting MD5/SHA hashes of the found files

If you want to get the MD5/SHA hashes of the files that you found with SearchMyFiles, you can easily do it with HashMyFiles utility.
First, in the SearchMyFiles window, select the desired files and press Ctrl+E (Explorer Copy). In the HashMyFiles window, press Ctrl+V (Paste) to add the files that you previously selected in SearchMyFiles.

Duplicate Search Mode

Starting from version 1.35, SearchMyFiles also allows you to search duplicate files on your system. In order to use this feature, simply change the search mode in the 'Search Options' window to 'Duplicates Search'.
When you switch to 'Duplicates Search' mode, all other search options are still relevant, and SearchMyFiles will scan your files according to these settings. For example: if you choose to search for files larger than 500KB, SearchMyFiles will only search for duplicate files that their size is larger than 500KB. In fact, it's highly recommended to narrow your duplicate search by using date/size restrictions, because if you don't do it, the duplicate search will be very slow, and it'll consume a large amount of memory.

When you are in 'Duplicates Search' mode, SearchMyFiles will first scan all files and folders according to your settings, and only after the scan is finished, it'll locate the duplicate files and add them to the files list on the main window. SearchMyFiles automatically mark the duplicate files with identical colors (up to 64 different colors). There is also a 'Duplicate Number' column, which displays identical number for each chunk of duplicate files. You can click the 'Duplicate Number' column header in order to sort by this column and to easily view the chunks of duplicate files.

Be aware that the duplicate search is done by making a binary comparison of the files with the same size, byte by byte.

Non-Duplicates Search Mode

This mode is the opposite of Duplicate Search Mode, which means that it displays all files in the specified folders that are not duplicated.

Duplicate Names Search Mode

In this mode, SearchMyFiles displays all files that have the same name.
The 'Duplicate Names Search' mode has 4 sub-modes:

Summary Mode

In this mode, SearchMyFiles displays a general summary of all scanned folders, instead of files list. For every folder, the following summary information is displayed: Total size of all files, total size on disk, total files count, and number of hidden/read-only/system/compressed files. You can watch the summary information for the specified folder only or for the specified folder and all its subfolders.

Search Empty Folders

If you want to search empty folders on your system, follow the instructions below:
  1. Click the 'Reset To Default' button to ensure that all files are scanned.
  2. Type the base folder to search.
  3. Choose 'Summary Mode' in the Search Mode combo-box, and then in the nearby combo-box choose one of the following options: 'Only folders with zero files and subfolders' or 'Only folders with zero files'. If you choose the first option, only completely empty folders without files or folders will be displayed. If you choose the second option, SearchMyFiles will also display folders with subfolders, as long as the folder and all its subfolders are empty from files.

After the search of empty folders is completed, you can optionally delete these empty folders by using the 'Delete Selected Empty Folders' option.
But before you do it, read this warning: Although deleting an empty folder is relatively a safe action, it's possible that delete of empty folders will cause a problem (For example: a software that expects a specific directory structure, and doesn't work properly without it).
So when you choose to delete empty folders, it's your responsibility to check every empty folder you want to delete and ensure it's ok to delete. It's also recommended to export the empty directories list to a file, so if there is a problem after the empty folders deletion, you'll be able to easily create again the deleted empty folders.

Be aware that the 'Delete Selected Empty Folders' option will fail if there are files or subfolders inside this folder or if you don't have permission to delete the folder.

Command-Line Options

You can use the following command-line option in order to execute a search without displaying any user interface and save the result into a file. Be aware that when you do that, the only way to stop the search is by termintaing the process of SearchMyFiles (SearchMyFiles.exe). /config <Filename> Loads the configuration from the specified .cfg file. Can be used in conjunction with the save options, like /stext, /scomma and so on. /StartSearch Tells SearchMyFiles utility to start the search immediately, without displaying the 'Search Options' dialog-box, according to the last configuration or according to the config file specified in /config parameter. /ExplorerCopy Search files without user interface according to the configuration file, and then copy the found files list to the clipboard in Windows Explorer format (Like 'Explorer Copy' option) /SaveDirect Save the files list in SaveDirect mode. For using with the other save command-line options ( /scomma, /stab, /sxml, and so on...)
When you use the SaveDirect mode, the details of found files are saved directly to the disk, without loading them into the memory first. This means that you can save a list with large amount of files into your disk without any memory problem, as long as you have enough disk space to store the saved file. The drawback of this mode: You cannot sort the files list according to the name or any other column. The details of files are simply saved in the order that SearchMyFiles found them. /stext <Filename> Search and save the result into a regular text file. /stab <Filename> Search and save the result into a tab-delimited text file. /scomma <Filename> Search and save the result into a comma-delimited text file (csv). /stabular <Filename> Search and save the result into a tabular text file. /shtml <Filename> Search and save the result into HTML file (Horizontal). /sverhtml <Filename> Search and save the result into HTML file (Vertical). /sxml <Filename> Search and save the result to XML file. /sort <column> This command-line option can be used with other save options for sorting by the desired column. If you don't specify this option, the list is sorted according to the last sort that you made from the user interface. The <column> parameter can specify the column index (0 for the first column, 1 for the second column, and so on) or the name of the column, like "Filename" and "Created Time". You can specify the '~' prefix character (e.g: "~Created Time") if you want to sort in descending order. You can put multiple /sort in the command-line if you want to sort by multiple columns.

Examples:
SearchMyFiles.exe /shtml "f:\temp1円.html" /sort 2 /sort ~1
SearchMyFiles.exe /shtml "f:\temp1円.html" /sort "~Extension" /sort "Filename" /nosort When you specify this command-line option, the list will be saved without any sorting.

You can also use the following command-line option to override the configuration loaded from the .cfg file:

/FilesWildcard <Wildcard> Specifies the files wildcard. /SubfoldersWildcard <Wildcard> Specifies the subfolders wildcard. /BaseFolder <Folder> Specifies the base folders to search. /ExcludedFolder <Folder> Specifies the folders to exclude in the search. /ScanSubfolders <0 | 1> Specifies whether to search in subfolders. 1 = Yes, 0 = No. /ExcludeExtensions <Extensions> Specifies one or more extensions to exclude. /FindFiles <0 | 1> Specifies whether to find files. 1 = Yes, 0 = No. /FindFolders <0 | 1> Specifies whether to find folders. 1 = Yes, 0 = No. /UseFileSizeAtLeast <0 | 1>
/UseFileSizeAtMost <0 | 1> Specifies whether to use the "At Least" and "At Most" file size filter. 1 = Yes, 0 = No.
/FileSizeAtLeast <Value>
/FileSizeAtMost <Value> Specifies the values of file size filters.
/FileSizeAtLeastUnit <Value>
/FileSizeAtMostUnit <Value> Specifies the units of file size filters. 1 = Bytes, 2 = KB, 3 = MB, 4 = GB
/FileAttrReadOnly <Value>
/FileAttrSystem <Value>
/FileAttrHidden <Value>
/FileAttrArchive <Value>
/FileAttrCompressed <Value>
/FileAttrEncrypted <Value> Specifies the file attributes filter. 1 = Both, 2 = No, 3 = Yes. /FileContains <Value> Specifies the 'File Contains' option. 0 = None, 1 = Text, 2 = Binary, 3 = Wildcard. /FileContainsText <String> Specifies the 'File Contains' text. /FileContainsCaseSensitive <0 | 1> Specifies whether the 'File Contains' string is case sensitive. 1 = Yes, 0 = No.
/FileTimeCreated <Value>
/FileTimeModified <Value>
/FileTimeAccessed <Value> Specifies the filter option by file time. 0 = All Times, 1 = Time Range, 2 = Last XX Seconds, 3 = Last XX Minutes, 4 = Last XX Hours, 5 = Last XX Days.
/FileTimeCreatedLastXX <Value>
/FileTimeModifiedLastXX <Value>
/FileTimeAccessedLastXX <Value> Specifies the last xx seconds/minutes/hours/days values.
/FileTimeAccessed1 <Value>
/FileTimeAccessed2 <Value>
/FileTimeModified1 <Value>
/FileTimeModified2 <Value>
/FileTimeCreated1 <Value>
/FileTimeCreated2 <Value> Specifies date/time range values. The date/time value must be in the following format: dd-mm-yyyy hh:nn:ss

For example:
SearchMyFiles.exe /FileTimeModified1 "10-01-2010 12:00:00" /FileTimeModified2 "18-01-2010 08:00:00" /SubFolderDepth <Value> Specifies the subfolders depth. 0 = Unlimited. /UseMaxNumOfFiles <0 | 1> Specifies whether to limit the number of files to find. 1 = Yes, 0 = No. /MaxNumOfFiles <Value> Specifies the maximum number of files to find. /SearchMode <1 | 2> Specifies the search mode. 1 = Standard Search, 2 = Duplicate Search.

Examples:
SearchMyFiles.exe /scomma c:\temp\bfiles1.csv /FilesWildcard b*.*
SearchMyFiles.exe /config c:\temp\myconfig.cfg /BaseFolder "c:\Program Files" /shtml c:\temp\result.html
SearchMyFiles.exe /stab c:\temp\searchfiles.txt

Translating SearchMyFiles to other languages

In order to translate SearchMyFiles to other language, follow the instructions below:
  1. Run SearchMyFiles with /savelangfile parameter:
    SearchMyFiles.exe /savelangfile
    A file named SearchMyFiles_lng.ini will be created in the folder of SearchMyFiles utility.
  2. Open the created language file in Notepad or in any other text editor.
  3. Translate all string entries to the desired language. Optionally, you can also add your name and/or a link to your Web site. (TranslatorName and TranslatorURL values) If you add this information, it'll be used in the 'About' window.
  4. After you finish the translation, Run SearchMyFiles, and all translated strings will be loaded from the language file.
    If you want to run SearchMyFiles without the translation, simply rename the language file, or move it to another folder.

License

This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility, you must include all files in the distribution package, without any modification !

Disclaimer

The software is provided "AS IS" without any warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason.

Feedback

If you have any problem, suggestion, comment, or you found a bug in my utility, you can send a message to nirsofer@yahoo.com Download SearchMyFiles Download SearchMyFiles for x64 Check Download MD5/SHA1/SHA256 Hashes

SearchMyFiles is also available in other languages. In order to change the language of SearchMyFiles, download the appropriate language zip file, extract the 'searchmyfiles_lng.ini', and put it in the same folder that you Installed SearchMyFiles utility.

LanguageTranslated ByDateVersion
Arabic Abu Rehaam11/04/20243.25
Belarusian sivahor26/05/20243.25
Brazilian Portuguese Paulo Guzmán27/09/20182.85
Catalan Xavier Pons30/04/20122.10
Czech Erik Sterba13/07/20192.82
Dutch Jan Verheijen05/12/20243.31
Dutch Pascal 21/03/20091.10
Finnish Björn Törnroth 24/02/20142.47
French Largo20/08/20243.30
French Skorpix38 (jan 2020)14/01/20203.10
French Pouick et Kouick19/12/20223.22
German «Latino» auf WinTotal.de 05/12/20243.31
Greek geogeo.gr 14/01/20192.91
Hebrew Aharon Don18/09/20243.30
Hungarian Timinoun18/02/20253.31
Italian Styb31/08/20243.30
Japanese coolvitto 30/08/20243.30
Korean 비너스걸 (VenusGirl) 11/01/20233.23
Persian ZendegiyeSabz 31/12/20243.31
Polish Hightower30/08/20243.30
Portuguese Pt J.Frade15/10/20223.22
Romanian Jaff (Oprea Nicolae) 05/02/20162.67
Russian solokot01/09/20243.30
Russian Kondor12/01/20122.00
Simplified Chinese DaiXQ02101/03/20243.31
Simplified Chinese ZXH03/08/20172.82
Simplified Chinese DickMoore 05/09/20243.30
Slovak František Fico05/01/20253.31
Spanish cpa24/10/20111.80
Spanish Paco Fdez 27/01/20101.40.01
Spanish Angel De Giorgi - Argentina27/04/20142.48
Swedish I.K.l20/02/20172.81
Traditional Chinese Danfong Hsieh 20/08/20243.30
Turkish HARUN ARI 07/04/20243.25
Turkish 124.Paradoks18/05/20182.83
Ukrainian Maximus22/03/20243.21
Valencian vjatv 04/03/20091.0

AltStyle によって変換されたページ (->オリジナル) /