{"skill":{"slug":"es-file-search-win","displayName":"Windows File Search Skill via Everything","summary":"Fast and comprehensive Windows file and folder search using the Everything command line tool with filters, sorting, and CSV export options.","description":"# Windows File Search Skill\r\n\r\n**Skill Description:** This skill provides powerful file search capabilities on Windows systems using the Everything command line tool (es.exe). It allows for fast and efficient searching of files and folders across the entire file system.\r\n\r\n## Overview\r\n\r\nThis skill enables advanced file search operations on Windows platforms by leveraging the Everything search engine's command line interface. The es.exe tool offers lightning-fast file searching capabilities, making it ideal for locating files and folders based on various criteria.\r\n\r\n## Error Handling\r\n\r\nWhen executing commands, if an `Error 8` is returned, the skill will automatically retry the command with the `-instance=1.5a` parameter to ensure compatibility with Everything version 1.5a.\r\n\r\n**If the error persists even after adding the `-instance=1.5a` parameter:**\r\n\r\nThis indicates that the `es.exe` command-line tool is not properly installed or configured on your system. Please follow these steps:\r\n\r\n1. **Download and Install Everything:**\r\n   - Visit the official Everything website: https://www.voidtools.com/downloads/\r\n   - Download and install the latest version of Everything\r\n   - Ensure that the \"ES Command Line Tool\" option is selected during installation\r\n   \r\n   **Direct Download Links:**\r\n   \r\n   **Everything 1.4.1 (Stable Version):**\r\n   - Portable ZIP: https://www.voidtools.com/Everything-1.4.1.1032.x64.zip\r\n   - Installer: https://www.voidtools.com/Everything-1.4.1.1032.x64-Setup.exe\r\n   \r\n   **Everything 1.5.0a (Alpha Version with es.exe included):**\r\n   - Portable ZIP: https://www.voidtools.com/Everything-1.5.0.1404a.x64.zip\r\n   - Installer: https://www.voidtools.com/Everything-1.5.0.1404a.x64-Setup.exe\r\n\r\n\r\n2. **Configure System PATH (Choose one of the following methods):**\r\n   \r\n   **Method A - Add es.exe directory to System PATH:**\r\n   - Locate the es.exe file (typically in `C:\\Program Files\\Everything\\`)\r\n   - Add this directory to your system's PATH environment variable\r\n   - Restart your terminal/command prompt for changes to take effect\r\n   \r\n   **Method B - Copy es.exe to System Directory:**\r\n   - Copy the es.exe file to your Windows system directory (`%systemroot%`)\r\n   - This is typically `C:\\Windows`\r\n\r\n3. **Verify Installation:**\r\n   - Open a new command prompt\r\n   - Type `es -version` to verify the tool is accessible\r\n   - Type `es -get-everything-version` or `es -instance=1.5a -get-everything-version` to verify Everything.exe is accessible\r\n   - If successful, you should see the version information for the es command and Everything.exe\r\n\r\n## Core Capabilities\r\n\r\n### 1. Basic Search Syntax\r\n\r\n```\r\nes [options] search_term\r\n```\r\n\r\n### 2. Common Search Options\r\n\r\n**File Filtering:**\r\n\r\n- `-p`: Match full path (including folder names)\r\n- `-w`: Match whole words only\r\n- `-n <num>`: Limit number of results\r\n- `-path <path>`: Search within specified path\r\n- `/ad`: Show only directories\r\n- `/a-d`: Show only files (exclude directories)\r\n\r\n**Example:** `es -path \"C:\\Users\" -n 10 *.pdf`\r\n\r\n### 3. Sorting and Display\r\n\r\n**Sorting Options:**\r\n\r\n- `-s`: Sort by full path\r\n- `-sort name`: Sort by file name (supports `size`, `extension`, `date-modified`, etc.)\r\n- Use `-` prefix for descending order (e.g., `-sort -date-modified`)\r\n\r\n**Formatted Output:**\r\n\r\n```\r\nes -name -size -date-modified -path search_term\r\n```\r\n\r\n### 4. Advanced Features\r\n\r\n**Data Export:**\r\n\r\n- `-csv`: Export results as CSV format\r\n- `-export-csv \"filename.csv\"`: Export to specific CSV file\r\n- `-no-header`: Exclude header row in export\r\n\r\n**Folder Size Calculation:**\r\n\r\n- `-get-folder-size <filename>`: Calculate folder size\r\n- `-get-total-size`: Calculate total size of search results\r\n\r\n**Search Term Highlighting:**\r\n\r\n- `-highlight`: Highlight matching text in results\r\n- `-highlight-color 0x0c`: Set highlight color\r\n\r\n## Usage Examples\r\n\r\n**Example 1: Find recently modified Word documents**\r\n\r\n```\r\nes -path \"C:\\\" -sort -date-modified -n 5 -name -size -date-modified *.docx\r\n```\r\n\r\n**Example 2: Export hidden files list to CSV**\r\n\r\n```\r\nes -path \"C:\\\" /ah -export-csv \"hidden_files.csv\" -no-header\r\n```\r\n\r\n## Notes\r\n\r\n- **Platform:** Windows only\r\n- **Tool:** Everything command line tool (es.exe)\r\n- **Compatibility:** Works with Everything version 1.4.1.950 or higher\r\n- **Wildcards:** Supports `*` (any characters) and `?` (single character)\r\n- **Quoting:** Use double quotes for paths or search terms containing spaces","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":742,"installsAllTime":28,"installsCurrent":1,"stars":0,"versions":1},"createdAt":1773118066559,"updatedAt":1778491799807},"latestVersion":{"version":"1.0.0","createdAt":1773118066559,"changelog":"- Initial release of the Windows File Search Skill.\n- Provides fast and advanced file/folder search on Windows using Everything (es.exe) command line tool.\n- Includes automatic error handling and compatibility support for Everything 1.4 and 1.5a.\n- Detailed setup instructions and troubleshooting for es.exe installation/configuration.\n- Supports extensive search options, filters, sorting, data export, and result formatting.","license":"MIT-0"},"metadata":null,"owner":{"handle":"thianda91","userId":"s177pdqft76gs9esmpfcc4my6d885755","displayName":"YrUqx","image":"https://avatars.githubusercontent.com/u/18072262?v=4"},"moderation":null}