lsdsk 1.6 has been released (02-Oct-11)
Submitted by ross on Sun, 10/02/2011 - 10:16
I wrote lsdsk as I wanted a program to display all my drives, including local, network, and substituted drives, in one convenient display.
You can download the binary here and the source code here. Here's the changelog:
Version 1.6 - 02 Oct 11
Fixed crash if domain is null
Added Release version to zip files
Added .ico and .rc files to source zip file
Added shared lib to source zip file (unzip into lsdsk/../shared)
Version 1.5 - 26 Sep 11
Updated to Visual Studio 2010 Express
Added option: -A | --all Display both mounted and unmounted drives
Added option: -b | --bus Display device bus type (USB, 1394, etc.
Fixed crash for 'net use \\host\ipc$' type shares
Trimed file system value to width of field
Changed -k to show size suffix as lowercase
Display volume in name field if volume option not selected, or name is blank
Version 1.4 - 04 Apr 07:
Better error reporting
Version 1.3 - 12 Jul 06:
Standardized version information across all programs
Version 1.2 - 08 Apr 06:
Added option: -e | --exclude d: Exclude drive d:
Added option: -i | --include d: Include drive d: (and exclude all others)
Added .rc and .ico files
Improved build scripts
Updated documentation
Version 1.1 - 01 Mar 06:
Added option: -d | --domain Display domain and username for network shares
Added option: -k | --kilobyte Use 1024 for a kilobyte (K) instead of 1000
Added option: -e | --available Display available drive letters (default is off)
Fixed used/free/size amounts so they round correctly
Version 1.0 - 18 Feb 06:
Initial release
and here's the readme.txt:
lsdsk - Version 1.6 - Oct 02 2011 Copyright (c) 2005-2011 Ross Smith II (http://smithii.com) All Rights Reserved ------------------------------------------------------------------------------ To build, unzip the shared*.zip file to lsdsk/../shared Usage: lsdsk [options] Options: -t | --type Display type of drive -v | --volume Display volume name of drive -u | --used Display used space on drive -f | --free Display free space remaining on drive -s | --size Display total size of drive -m | --file_system Display file system type (NTFS, FAT32, etc.) -b | --bus Display device bus type (USB, 1394, etc.) -n | --name Display network share directory or subst'd directory -d | --domain Display domain and username for network shares -e | --exclude d: Exclude drive d: -i | --include d: Include drive d: (and exclude all others) -k | --kilobyte Use 1024 for a kilobyte (K) instead of 1000 -a | --available Display available drive letters afterwards -A | --all Display both mounted and unmounted drives -V | --version Show version and copyright information and quit -? | --help Show this help message and quit ------------------------------------------------------------------------------ Examples: C:\>lsdsk Dr Type Bus Volume Used Free Size FS Name -- --------- ------- --------------- ---- ---- ---- ----- ----------------------------- B: RAMDisk RAMDisk 3.0K 1.0G 1.0G FAT \Device\RAMDisk C: Fixed example_c 7.1G 439M 7.1G NTFS \Device\HarddiskVolume1 D: Fixed example_d 45G 2.1G 47G NTFS \Device\HarddiskVolume3 E: CD-ROM EXAMPLEVOL 535M 0 535M CDFS F: Fixed EXAMPLE_F 288K 131M 131M FAT32 \Device\HarddiskVolume2 G: Removable USB usb_stick 28M 221M 249M exFAT H: Removable ATA domain.com 0 42G 42G EXFS I: Subst example_d 45G 2.1G 47G NTFS D:\a\path\on\d M: Subst example_c 7.1G 439M 7.1G NTFS C:\User\Example\Documents Y: Network sharename 123M 456M 579M NTFS \\servername\sharename (username) Z: Network c$ 177M 782M 959M NTFS \\servername\c$ (DOMAIN\user) ------------------------------------------------------------------------------ C:\>lsdsk -na Dr Name -- ----------------------------- B: RAMDisk C: example_c D: example_d E: EXAMPLEVOL F: EXAMPLE_F G: usb_stick I: D:\a\path\on\d M: C:\User\Example\Documents Y: \\servername\sharename Z: \\servername\c$ Free: A: H: J: K: L: N: O: P: Q: R: S: T: U: V: W: X: ------------------------------------------------------------------------------ C:\>set LSDSK=-na C:\>lsdsk (same as above) ------------------------------------------------------------------------------
»
- ross's blog
- Login or register to post comments

Some things to mention
1)
In readme "-e | --available Display available drive letters (default is off)"
must be "-a", actually. :)
2)
Program invokes modal error dialogs "Cancel/Retry/Ignore" every time media is absent from some drives, i.e. A: for floppy or M: N: O: P: for multicardreader.
3)
Localized volume names is not displayed properly, but with pseudographics.
I.e. M: Removable ??????????? 894M 127M 1.0G FAT32
For the rest of it — very good AND small utility. :) And thank you for your work.
Flame,
Great feedback!
Re 1), I've fixed that, and will release version 1.5 soon.
Re 2), This modal error message is generated from DOS. I don't know why that should be popping up for you, as it doesn't for me. What version of Windows are you using?
Re 3), Again, this is a DOS issue, yes? How does one display non-ASCII characters inside a DOS application?
lsdsk blog
Hi,
Thanks for lsdsk. I am about to dwnld, and I spotted something that you probably haven't noticed.
Look on the lsdsk page, URL below here, where somebody going by the username "netdimi" has posted an invitation to view some obscenities just below the readme + my words here. I hope it wasn't you, and I hope that you will delete the bad stuff, right away. Didn't think your blog allowed any anonymous posting - maybe you've been hacked...
URL: http://www.smithii.com/lsdsk
Sincerely,
basketx
Explore... Discover... Achieve... Earth, Moon, Mars and Beyond
All for less than 0.6% of the Federal budget!