topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 4:45 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: NANY 2012 Release: Got Space?  (Read 127592 times)

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
NANY 2012 Release: Got Space?
« on: July 14, 2011, 11:55 AM »
NANY 2012 Entry Information

Application Name Got Space?
Version 1.0.0.35
Short Description Utility to View Drive Space Available
Supported OSes Windows2000 - Windows7
Web Page Yer on it.
Download Link * GotSpace (build 35 - Final Release).zip (77.19 kB - downloaded 2845 times.)
System Requirements
  • A Computer
  • Windows2000 or Higher
  • A HDD or two
Version History
  • v1.0.0.0 - Runs without crashing anything.
  • v1.0.0.1 - Killed the SUBSTitute FAT Bugg.
  • v1.0.0.5 - Faster / Added Setable Settings.
  • v1.0.0.? - I forget...But it was important.
  • v1.0.0.8 - Add hotkeys for refresh & settings.
  • v1.0.0.10 - Added save size/location options.
  • v1.0.0.12 - Added last update timestamp.
  • v1.0.0.14 - Finished registry code.
  • v1.0.0.23 - Eject/remove Drives.
  • v1.0.0.24 - Dynamic Height Adjustment.
  • v1.0.0.25 - Hide Drives by Letter.
  • v1.0.0.26 - Drive Space Color Coding.
  • v1.0.0.35 - Final Release Build.
Source Code * GotSpace.jpg (47.79 kB. 427x318 - viewed 2151 times.)


Description
Got Space? is a small simple portable utility that will list the available drives and the space available on them. It's actually a clone of another program I've been using for years which has never been updated and lacks some of the features that I'll be adding to Got Space? Because I need them.

Features
Automatic Autoscaling between KB, MB, & GB - Because 0.2GB isn't really helpful if you need a place to stick a 235MB file quickly.
Quota Detection - Because when quotas are enabled you need to know how much space is available to you, not the system.
Auto Refresh (Optional/off by default) - Adjustable between 3 - 300 seconds
Detects SUBST command drives and displays them, but does not add them to the drive space totals.

Drive Types Displayed is user adjustable.
Drive Types Totaled is user adjustable.
User Configured Settings can be stored in one of 3 places:
      Memory - Allows you to test a configuration for the current session only.
      GotSpace.ini
      Registry  - Will override (but not overwrite) .ini settings.

Hotkeys available:
   F5 manual refresh
   F8 Show Settings dialog

Window size,position, and column widths can all be saved independently of each-other. So if you like a certain window size and column width layout, but don't want to commit to a specific window position (frequent portable app issue) ... Just deselect the options you don't want to save.

Added a StatusBar with a timestamp for the last time GotSpace? was updated. ...No, I can't seem to code anything without putting a god damn clock in it. *Sigh*

Program window can (/does by default) automatically resize itself to display all detected drives without scrolling.

Drives can now be independently hidden by drive letter(s).

Color coding - Drives with less that 10% free space turn red, & drives with 100% free space turn green.

High (green) and low (red) points are now adjustable.

Planned Features
Open for Suggestions.

Screenshots
Main Program Window:
GotSpace Settings.jpg

Settings Dialog:
GS_Extended.jpg

Extended Drive Info:
GS_About.jpg

About GotSpace:
[ Invalid Attachment ]

Usage
Installation
Unzip, run.

Using the Application
Initial startup is run it & read it. Use settings to show/hide drives by type, and add/remove drive types from the tracked drive space totals.

Uninstallation
Just delete it.

Known Issues
None.
« Last Edit: December 23, 2011, 10:43 PM by Stoic Joker »

kyrathaba

  • N.A.N.Y. Organizer
  • Moderator
  • Joined in 2006
  • *****
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: NANY 2012 Pledge: Got Space? Disk Utility.
« Reply #1 on: July 14, 2011, 07:09 PM »
You certainly made it well within the Pledge Countdown  :P  Sounds like a useful utility.  Looking forward to learning about the additional features you're adding...

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012 Pledge: Got Space? Disk Utility.
« Reply #2 on: July 20, 2011, 06:56 PM »
Added a downloadable alpha build

techidave

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,045
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #3 on: July 20, 2011, 08:39 PM »
Looks very good Joker!  thanks for it.  I cannot wait on some other computers

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #4 on: July 20, 2011, 09:32 PM »
Is it too soon to report this stuff?

Getting exceptions due to empty drives.
So, refresh creates a loop that has to be forcibly terminated.

FYI Some virtual drives (HIJ), legacy floppy support is on (A), card reader (N), SATA opticals (UV)

GotSpace.jpgNANY 2012 Release: Got Space?

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #5 on: July 20, 2011, 10:59 PM »
It's never to soon to report errors! ;)

I did see some of that (with Floppies) on Win2k in testing but not on XP and above. I can't quite tell from the SS, are you XP?

Not a lot of error checking is enabled yet, but I'll see what I can do to replicate the issue.

Thank you.

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #6 on: July 21, 2011, 01:47 AM »
Nice tool :up:

Feature request:
I have a subdirectory of my D: drive, SUBSTed to drive F:. This shows them both of type Local, with all the same figures. Could the type show 'Subst' or 'Mapped', and optionally where it is mapped to?

Screenshot - 21-07-2011 , 08_36_19.pngNANY 2012 Release: Got Space?

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #7 on: July 21, 2011, 07:03 AM »
Hm... Mapped Network drives will show up as type network (Drive N: in my SS above). SUBST'ed drives I'm not sure if there is a way to detect them. I'll play with it a bit tonight and see if I can concoct something that will identify them (nothing native exists in the API for that iirc).

Thanks for the input.

Jibz

  • Developer
  • Joined in 2005
  • ***
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #8 on: July 21, 2011, 07:40 AM »
Maybe the '% Free' column could have a visual indication of the amount of free space? Like fill that percentage of the background of the cell with a different color, a bit like in TreeSize.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #9 on: July 21, 2011, 09:35 AM »

I did see some of that (with Floppies) on Win2k in testing but not on XP and above. I can't quite tell from the SS, are you XP?


That was dumb of me, I should have specified: XP-32 SP3.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #10 on: July 21, 2011, 11:50 AM »

I did see some of that (with Floppies) on Win2k in testing but not on XP and above. I can't quite tell from the SS, are you XP?


That was dumb of me, I should have specified: XP-32 SP3.
-cranioscopical (July 21, 2011, 09:35 AM)

That's ok, I didn't notice the errors on my VirtualPC XP because I didn't realize it was reading the disk in the host machines A: drive. So that part of my initial test was completely invalid. (Tehehe - :wallbash:)

worstje

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 588
  • The Gent with the White Hat
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #11 on: July 21, 2011, 01:55 PM »
Feature request:
I have a subdirectory of my D: drive, SUBSTed to drive F:. This shows them both of type Local, with all the same figures. Could the type show 'Subst' or 'Mapped', and optionally where it is mapped to?
 (see attachment in previous post)

Just looking at that screenshot, the diskspace calculations for that drive also need to be re-examined for the SUBSTed case. Rather than doing FreeSpaceOnSubst = OriginalDriveCapacity - SubstedTreeSize, it should completely depend on the original partition for for as far 'free size' is concerned. This would break an intuitive idea where Capacity = Used + Free for the subst drives however, thus making that row of numbers look weird. Then again, a substed drive is little more than a small mirage, so I'd be in favor of just noting '-' as the Capacity just to get rid of any confusion regarding the matter. Otherwise, one might erroneously try to add up the total disk capacity in the computer and count the same drives capacity multiple times.

It looks like an awesome tool, by the way. Great job! :)

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #12 on: July 21, 2011, 07:14 PM »
Feature request:
I have a subdirectory of my D: drive, SUBSTed to drive F:. This shows them both of type Local, with all the same figures. Could the type show 'Subst' or 'Mapped', and optionally where it is mapped to?
Done. See updated SS (and download) above. SUBST drives now show as type SUBST, and are not added to the total system drive space numbers.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #13 on: July 21, 2011, 07:27 PM »
Then again, a substed drive is little more than a small mirage, so I'd be in favor of just noting '-' as the Capacity just to get rid of any confusion regarding the matter.

Good point, future builds will incorporate this distinction - I just added the code for it to the project - So it'll be there for the next update.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #14 on: July 21, 2011, 07:40 PM »
Getting exceptions due to empty drives.
So, refresh creates a loop that has to be forcibly terminated.

FYI Some virtual drives (HIJ), legacy floppy support is on (A), card reader (N), SATA opticals (UV)
-cranioscopical (July 20, 2011, 09:32 PM)

 Okay, just to make sure we're on the same page:

Are the only drives that are throwing errors the two removable drives A: & N:??

The optical drives (HIJU & V) both SATA & Virtual should all be fine. Yes?

I don't have a card reader to test with but the floppy seems to be alone in its intent to creating mayham.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #15 on: July 21, 2011, 09:23 PM »
Are the only drives that are throwing errors the two removable drives A: & N:??

The optical drives (HIJU & V) both SATA & Virtual should all be fine. Yes?
-SJ

Originally I had four exceptions.

I took the empty reader (N) out of the picture and had two exceptions.

Next I added a printer with a card reader on board and went back to four exceptions.

Then I added back the reader (N) and went to 6.

So, at two exceptions per removable drive, everything that's not removable is okay.

Does that help?


I have to say that this is an exceptional program  ;)



Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #16 on: July 21, 2011, 09:39 PM »
I have to say that this is an exceptional program
-cranioscopical (July 21, 2011, 09:23 PM)

Thank you!

I just uploaded a new build that should eliminate those pesky error messages for ya.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #17 on: July 21, 2011, 10:08 PM »
I just uploaded a new build that should eliminate those pesky error messages for ya.

And it does  :up:

This is one of the better programs that I have, without exception.

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,629
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #18 on: July 22, 2011, 01:28 AM »
And you have a nice solution for my SUBSTed drive :Thmbsup: :-*

Screenshot - 22-07-2011 , 08_26_52.pngNANY 2012 Release: Got Space?

(I also added a network mapped drive since the previous screenshot)

kyrathaba

  • N.A.N.Y. Organizer
  • Moderator
  • Joined in 2006
  • *****
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #19 on: July 22, 2011, 06:20 AM »
Nice work.  Using it here, too.

worstje

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 588
  • The Gent with the White Hat
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #20 on: July 22, 2011, 06:31 AM »
Ok, so I tried out the latest version. Looks good, but eh...

Why is it saying that my external Lacie USB hard drive from a few years ago is substed? Good sir, I am afraid you've got a bug somewhere. :)
Also, the OK button in your settings dialog is broken, meaning that I can't try any of the other views.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #21 on: July 22, 2011, 06:38 AM »
Thanks guys. I gotta work on the (partially roughed in) settings dialog now. I'm thinking of making it an option to store the settings in either an ini or the registry for portability (with the ini taking precedence), sound good?

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #22 on: July 22, 2011, 06:45 AM »
Ok, so I tried out the latest version. Looks good, but eh...

Why is it saying that my external Lacie USB hard drive from a few years ago is substed? Good sir, I am afraid you've got a bug somewhere. :)

That is weird. considering it would have to be reporting its attributes as a directory. I'll have to pick at that one for a bit ( and figure out how to test it).

Also, the OK button in your settings dialog is broken, meaning that I can't try any of the other views.

Yes (actually none of it works), that part of the it ain't done yet function. ;)

worstje

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 588
  • The Gent with the White Hat
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #23 on: July 22, 2011, 07:06 AM »
If you want screenshots of My Computer or other windows that might be relevant for you in testing this, let me know.

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,649
    • View Profile
    • Donate to Member
Re: NANY 2012: Got Space? Disk Utility.
« Reply #24 on: July 22, 2011, 07:20 AM »
If you want screenshots of My Computer or other windows that might be relevant for you in testing this, let me know.

Yes, please do. I need to workout how to replicate this. Is the partition on the Lacie FAT, or NTFS?