Windows 8 and 8.1 Forums


CMD, Search files with second letter x

  1. #1


    Kortrijk
    Posts : 9
    Windows 8.1 proffesional

    CMD, Search files with second letter x


    Hello everybody,

    Here i am back
    I have a new question about the command "dir" in the CMD.
    I want to search files with the command "dir" where the second letter is an "x".
    I know that the comand for files with the first letter x is:
    Click image for larger version
    And i know that the command to search a file with the letter x on an random position is:
    Click image for larger version
    But what must i do for searching files with the second letter x.

      My System SpecsSystem Spec

  2. #2


    Kortrijk
    Posts : 9
    Windows 8.1 proffesional


    I have already found the solution
    Click image for larger version
      My System SpecsSystem Spec

  3. #3


    Glad you found it.

    This one is wrong though:

    ... the first letter x is:
    C:\Windows\system32> dir C:\x.* /s /b

    It should be
    C:\Windows\system32> dir C:\x* /s /b

    (no . between x and *).
      My System SpecsSystem Spec

  4. #4


    Another should work ... dir ?x*
    Wow I still remember from dos 6!!!!!
      My System SpecsSystem Spec

CMD, Search files with second letter x
Related Threads
I have bought a new laptop with win 8.1. ( I would have preferred Win 7 but it only came with win 8.) This laptop is being dedicated as a paperless file storage system. I scan all my paperwork to PDF files and store in folders. I have been trying to find a way to be able to search these PDF files,...
I saw a thread, where people have had trouble trying to find files. A few steps Index Locations - Add or Remove - Windows 7 Help Forums 1 go to your control panel 2 Click Indexing Settings/Options
Hello I want to press start key and search my software but when I do this all of files in my documents appear in results. How to set default search only in softwares and control panel?
Search FILES only? in General Support
Windows 8.1 upgrade. VERY disappointed. The "universal" search sucks. Control panel -disabled BING. But when I return to the search screen, and start typing, the default remains EVERYTHING. This excludes a lot of the paths FILES looks under. Is there any way for Win 8.1 to default your...
Search not finding files in General Support
My file search is not finding files which I know are there, including files that I find and then try a search to see if windows eight can also find them. I have tried all the solutions' offered by googling 'windows 8 not finding file' such as the troubleshooter . One suggestion was to change the...
Default files search in General Support
On the search function is it possible for the default search to be for files? It seems apps is the standard default but if I could change this default to files, it would be great. Is this possible? Thanks
The search in my copy of Win 8 can't seem to find any shortcuts except those in the Start Menu folder. Using the search in the Start screen. I did this to test: 1) Create a shortcut at an indexed location thats not the Start Menu folders 2) I waited a bit and notice the item count in the...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook