Can't print full contents of a directory.

pscowboy

New member
Pro User
Local time
3:18 AM
Messages
233
I love to keep track of directory contents by printing them out. Various reasons.

By going to a command prompt, then to the directory of choice, I can send the results of the "dir" command to "prn" with the ">" (greater than) sign.

There are all sorts of switches to affect the way the printout looks. The ones I like are /b followed by /o:gn which gives you names only, directories first.

I run into a problem when there are hidden and system files in a folder. The switch for them is /a:hs.

No matter how I present the switches, all of the above, I cannot get the dir command to print everything. I get either all of the non-h&s, or I get just the h&s.

Any way I can solve this?
 

My Computer My Computer

At a glance

W7 Home Premium 32bit
Computer Manufacturer/Model Number
8 home-builds from the 80's into 2004
OS
W7 Home Premium 32bit

My Computer My Computer

At a glance

Windows 7 Ultimate 64bitAMD Phenom Quad core 9950 black edition16Gb2x XFX Radeon 5850
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Built
OS
Windows 7 Ultimate 64bit
CPU
AMD Phenom Quad core 9950 black edition
Motherboard
Gigabyte
Memory
16Gb
Graphics Card(s)
2x XFX Radeon 5850
Sound Card
PCI Express X-Fi Titanium / Logitech G35
Monitor(s) Displays
2x HP 2410i
Screen Resolution
1920x1080
Hard Drives
2x 500Gb Seagate
1x 300Gb Seagate
1x 1Tb Seagate
2x 1Tb Hitatchi
PSU
Jean Tech Storm 700W
Case
Cooler Master COSMOS S
Cooling
Akasa Evo Blue Pro
Keyboard
Logitech G15
Mouse
Mad Catz M.M.O. 7
Internet Speed
12mb
I am not familiar with this program. But will certainly give it a try and report back to this forum.
Thank you for the tip!
 

My Computer My Computer

At a glance

W7 Home Premium 32bit
Computer Manufacturer/Model Number
8 home-builds from the 80's into 2004
OS
W7 Home Premium 32bit
Well written. I believe I can get this to do what I need.
 

My Computer My Computer

At a glance

W7 Home Premium 32bit
Computer Manufacturer/Model Number
8 home-builds from the 80's into 2004
OS
W7 Home Premium 32bit

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top