Solved How to obtain search *.* in ascii format on Windows?


siliconbeaver

Well-known member
Member
Local time
3:10 AM
Posts
335
OS
Windows 7/11
Usually the result displayed on screen. (any Windows versions, Windows XP/7/10/11)

If I would do its analysis, I need an ascii format and can open in notepad++

on a specific partition, I can run MS-DOX command dir *.* /s. but for entire PC, all disks, I didn't find a way.

Thanks,
 

My Computer My Computer

At a glance

Windows 7/11Intel i7-11800H32GB DDR4 3200MHzNVIDIA GeForce RTX 3070
OS
Windows 7/11
Computer type
PC/Desktop
Manufacturer/Model
HP/Lenovo/Asus
CPU
Intel i7-11800H
Motherboard
Lenovo Legion 5i Pro Gen 6
Memory
32GB DDR4 3200MHz
Graphics Card(s)
NVIDIA GeForce RTX 3070
Monitor(s) Displays
LG 35WN65C-B
Screen Resolution
3440 x 1440
Hard Drives
1TB PCIe SSD
Other Info
Edition Windows 11 Pro
Version 25H2
Installed on ‎12/‎12/‎2025
OS build 26200.7462
For the DIR command, you can use DIR C:\*.* D:\*.* /s, substitute "C:\" and "D:\" for your disk volumes, add more if you got more.
 

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 560016 GBSapphire Radeon RX 6500XT (8 GB version)
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • At a glance

    Windows 11Intel Celeron N4020
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
Cool,

Let me try.
 

My Computer My Computer

At a glance

Windows 7/11Intel i7-11800H32GB DDR4 3200MHzNVIDIA GeForce RTX 3070
OS
Windows 7/11
Computer type
PC/Desktop
Manufacturer/Model
HP/Lenovo/Asus
CPU
Intel i7-11800H
Motherboard
Lenovo Legion 5i Pro Gen 6
Memory
32GB DDR4 3200MHz
Graphics Card(s)
NVIDIA GeForce RTX 3070
Monitor(s) Displays
LG 35WN65C-B
Screen Resolution
3440 x 1440
Hard Drives
1TB PCIe SSD
Other Info
Edition Windows 11 Pro
Version 25H2
Installed on ‎12/‎12/‎2025
OS build 26200.7462
It works well.
 

My Computer My Computer

At a glance

Windows 7/11Intel i7-11800H32GB DDR4 3200MHzNVIDIA GeForce RTX 3070
OS
Windows 7/11
Computer type
PC/Desktop
Manufacturer/Model
HP/Lenovo/Asus
CPU
Intel i7-11800H
Motherboard
Lenovo Legion 5i Pro Gen 6
Memory
32GB DDR4 3200MHz
Graphics Card(s)
NVIDIA GeForce RTX 3070
Monitor(s) Displays
LG 35WN65C-B
Screen Resolution
3440 x 1440
Hard Drives
1TB PCIe SSD
Other Info
Edition Windows 11 Pro
Version 25H2
Installed on ‎12/‎12/‎2025
OS build 26200.7462

My Computer My Computer

At a glance

Windows 7/11Intel i7-11800H32GB DDR4 3200MHzNVIDIA GeForce RTX 3070
OS
Windows 7/11
Computer type
PC/Desktop
Manufacturer/Model
HP/Lenovo/Asus
CPU
Intel i7-11800H
Motherboard
Lenovo Legion 5i Pro Gen 6
Memory
32GB DDR4 3200MHz
Graphics Card(s)
NVIDIA GeForce RTX 3070
Monitor(s) Displays
LG 35WN65C-B
Screen Resolution
3440 x 1440
Hard Drives
1TB PCIe SSD
Other Info
Edition Windows 11 Pro
Version 25H2
Installed on ‎12/‎12/‎2025
OS build 26200.7462
And you could also send the output directly to a text file
DIR C:\*.* D:\*.* /s >F:\Desktop\MyC-DDirResults.txt
{using a path of your own choosing instead of my example F:\Desktop}


All the best,
Denis
 

My Computer My Computer

At a glance

Windows 11 Home x64 Version 25H2 Build 26200....
OS
Windows 11 Home x64 Version 25H2 Build 26200.8037
If you want a really good view in ASCII use the syntax below. Note: I'm getting a view of C:\ but specify whatever path you want.

tree C:\ /A /F (note: there is a space between the two slashes)

If you want to save that to a text file do this, replacing C:\FileList.txt with whatever path and filename you want:

tree C:\ /A /F > C:\FileList.txt

EDIT: If it doesn't need to be just plain ASCII, try the same commands without the /A
 

My Computers My Computers

  • At a glance

    Win11 Pro 25H2 (RTM+)Intel i7-14650HX32 GBNo GPU - Built-in Intel Graphics
    OS
    Win11 Pro 25H2 (RTM+)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic
    CPU
    Intel i7-14650HX
    Memory
    32 GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    Varies as machine will often be moved to locations with different monitors
    Screen Resolution
    Varies
    Hard Drives
    1 x 1TB Gen 4 NVMe SSD
    PSU
    120W Power Brick
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • At a glance

    Win11 Pro 25H2 (RTM+)Intel i7-1255U16 GBIntel Iris Xe Graphics
    Operating System
    Win11 Pro 25H2 (RTM+)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Keyboard
    Backlit, spill resistant keyboard
    Mouse
    Buttonless Glass Precision Touchpad
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Personally, I never leave a space after the > symbol before the output file path-name.
DIR C:\*.* D:\*.* /s >F:\Desktop\MyC-DDirResults.txt
But I've been doing so for so long that I cannot remember what can go wrong & in what circumstances things can go wrong if a space is left in there.


Denis
 

My Computer My Computer

At a glance

Windows 11 Home x64 Version 25H2 Build 26200....
OS
Windows 11 Home x64 Version 25H2 Build 26200.8037
Personally, I never leave a space after the > symbol before the output file path-name.
DIR C:\*.* D:\*.* /s >F:\Desktop\MyC-DDirResults.txt
But I've been doing so for so long that I cannot remember what can go wrong & in what circumstances things can go wrong if a space is left in there.


Denis
I guess it must be a matter of preference. In all my years doing this I have never had a problem putting a space after a redirect. But that doesn't mean that maybe there is some oddball scenario that I am unaware of.
 

My Computers My Computers

  • At a glance

    Win11 Pro 25H2 (RTM+)Intel i7-14650HX32 GBNo GPU - Built-in Intel Graphics
    OS
    Win11 Pro 25H2 (RTM+)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic
    CPU
    Intel i7-14650HX
    Memory
    32 GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    Varies as machine will often be moved to locations with different monitors
    Screen Resolution
    Varies
    Hard Drives
    1 x 1TB Gen 4 NVMe SSD
    PSU
    120W Power Brick
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • At a glance

    Win11 Pro 25H2 (RTM+)Intel i7-1255U16 GBIntel Iris Xe Graphics
    Operating System
    Win11 Pro 25H2 (RTM+)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Keyboard
    Backlit, spill resistant keyboard
    Mouse
    Buttonless Glass Precision Touchpad
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor

Latest Support Threads

Back
Top Bottom