- 1 year ago
File search in Windows with "ß" or "ss" in filename
When searching for files in Windows that contain the character "ß" or "ss" in the filename, you can use the built-in dir
command or PowerShell's Get-ChildItem
cmdlet with appropriate options.
Using dir
command:
shelldir /b /s *ß* *ss*
This command will search for files recursively (/s
) in the current directory and its subdirectories. It looks for files that contain either "ß" or "ss" in the filename (*ß*
and *ss*
). The /b
option displays only the filenames without any additional information.
Using PowerShell's Get-ChildItem
cmdlet:
powershellGet-ChildItem -Recurse -Include "*ß*", "*ss*"
This PowerShell command achieves the same result as the dir
command. It recursively searches for files (-Recurse
) in the current directory and its subdirectories. The -Include
parameter specifies the patterns to include, which in this case are "ß" and "ss".
Both approaches should help you find files with filenames containing "ß" or "ss" in Windows. Adjust the search patterns and options as needed based on your specific requirements.