Solved CMD, Search files with second letter x

sandeerius

New Member
Messages
9
Location
Kortrijk
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:
2014_10_14_13_26_122.png
And i know that the command to search a file with the letter x on an random position is:
2014_10_14_13_19_551.png
But what must i do for searching files with the second letter x.
 

My Computer

System One

  • OS
    Windows 8.1 proffesional
    Computer type
    Laptop
    System Manufacturer/Model
    HP Zbook 15"
    CPU
    I7
    Motherboard
    /
    Memory
    8 GB
    Graphics Card(s)
    Nivedia
    Browser
    Chrome
    Antivirus
    McAffee
I have already found the solution :cool:
Knipsel.PNG
 

My Computer

System One

  • OS
    Windows 8.1 proffesional
    Computer type
    Laptop
    System Manufacturer/Model
    HP Zbook 15"
    CPU
    I7
    Motherboard
    /
    Memory
    8 GB
    Graphics Card(s)
    Nivedia
    Browser
    Chrome
    Antivirus
    McAffee
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 Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    1680x1050@59Hz
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH
Another should work ... dir ?x*
Wow I still remember from dos 6!!!!!
 

My Computer

System One

  • OS
    windows 8.1 pro
    Computer type
    Tablet
    System Manufacturer/Model
    Microsoft Surface Pro 1
    CPU
    Intel I5
    Motherboard
    Microsoft
    Memory
    4 gb
    Graphics Card(s)
    Intel
    Mouse
    Cheap Bluetooth 5 button
    Browser
    IE 11
    Antivirus
    Windows Defender
Back
Top