FREE SPACE TRAY ICON (v2)
Only thing you need to run the program is FreeSpaceMonitor.exe.
Right-click the link to download and select "Save Link as..."
FreeSpaceMonitor is distributed under GPL version 2 license.
Right-click the link to download and select "Save Link as..."
FreeSpaceMonitor is distributed under GPL version 2 license.
Once run, the program displays available disk space in the system tray in gigabytes. Below the value is the percentage of disk space which is still free. If you wish to change which drive is monitored, simply right-click the icon to select another drive. You can also provide the drive as a command-line parameter (default is C) which is quite useful if you set the utility to be executed when your system starts up.
It's purely cosmetical but you can change the layout also by right-clicking the tray icon. If you want the icon to start in C64 mode, you can use -c64 command line parameter.
COMPILING
There is absolutely no need to read this section if you want to use the program - however, if you want to compile, read on...
The executable was compiled on Eclipse 3.2.2 running CDT 3.1.2 on Windows XP with MinGW 3.4.2. FreeSpaceMonitor uses Qt 4.2.3 which was statically linked into the executable. Qt was configured with "-static -no-exceptions -no-rtti -no-style-plastique -no-style-cleanlooks -no-style-motif -no-style-cde" and compiled with a modified mkspecs/win32-g++/qmake.conf with "-mthreads" removed so there is no mingwm10.dll dependency. The resulting executable was compressed with UPX.
Click here to download FreeSpaceMonitor Eclipse CDT "Managed Make C++ Project" with full sources (.rar). If you're not using Eclipse, don't worry: there's nothing special about compiling/linking, just make sure Qt header files and libraries are found and you're all set! Unfortunately there is no system-independent way to query free disk space, so the sources only compile on Windows.
LICENSE
FreeSpaceMonitor would be released into Public Domain, but Qt dependencies force me to distribute it under the GPL license version 2 which means that distributing only the executable is against the license: because of that, please do not redistribute FreeSpaceMonitor.exe-file without including the source code package which contains both full source and a copy of the GPL license.
HISTORY
v2. Added Commodore 64 mode
Death. Destruction. Disease. Horror. That's what war is all about.
That's what makes it a thing to be avoided.
-- Kirk, "A Taste of Armageddon", stardate 3193.0

-- Kirk, "A Taste of Armageddon", stardate 3193.0
