Good Windows Command wanted for directory entries Help Gurus please


jimbo45

Well-known member
Pro User
VIP
Local time
11:48 PM
Posts
3,905
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
Hi folks
I'm looking for a good Windows command to replicate as near as possible the linux Tree command tree -QDuhCip /dir
output : e.g
Screenshot_20220722_114147.png
Owner, size, date last accessed, time, file name

trying to do a mega 20TB "JBOD" disk clean up on windows but directory structures are nightmares. I can't move the disk from the windows machine nor access it remotely otherwise problem is simple !!!!. as above.

Then I can get into spreadsheet, sort by last used, owner etc and get rid of stuff not used for a specific time and users no longer around.

Any ideas - Gurus please.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
@jimbo45
I am surprised this is a question that you did not already know about, or am I missing something obvious?!
You can use the cmd Dir command, with attributes to obtain Owner, size, date last accessed, time, file name.
dir /q /ta
To search a particular drive/path combination:
dir <drive:><path> /q /ta
Or, if you want to include subdirectories:
dir <drive:><path> /q /ta /s
you can pause the output with
dir <drive:><path> /q /ta /s /p
or
redirect the output to a text file:
dir <drive:><path> /q /ta /s > diskJBOD.txt
 

My Computers

System One System Two

  • 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
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020

Latest Support Threads

Back
Top Bottom