Putting the wildcard at the end will find all the files with your search term at the beginning of the name, while putting it at the start will list all files with your search term at the end. Now just use the dir '\*file name*' /s command described earlier to find your target file or folder.ĭo note that you can also use just one asterisk (instead of two), either at the start or at the end of the filename. For example, to search the D:\ drive, you should type in d: and press Enter.
If you have multiple drives on your PC, you will need to specify the target drive. By default, the aforementioned command will search the C:\ drive.However, you can easily identify the correct path by its size.