by aherrick
29. November 2009 07:13
I wrote this little Windows Forms application a while back as an answer to a small issue I was having with my external hard drives. I wanted to prevent them from spinning down and entering a sleep mode after a certain period of time. This application simply attempts to write a text file to the root of each configured drive in order to keep activity on the drive and prevent it from spinning down. I wanted to learn how to do some of the different configurations but mainly wanted to write a working Windows application. Tested in Windows Server 2003/2008, Windows XP, and Windows Vista.

It is fully customizable to allow for multiple hard drives, and has different configuration settings such as how often (in minutes) to write a file, minimize to tray on start, monitor automatically on start, and run on Windows start up. Once a configuration is saved, settings are saved even if the application is restarted. I wanted to take a look at some of these basic configurations that can be reused across other applications that I build.

Below is an EXE of the application and the full source in case you are interested in checking it out!
HardDriveNoSleepV1.0-EXE.zip (91.46 kb)
HardDriveNoSleepV1.0-SRC.zip (422.66 kb)
by aherrick
9. December 2008 11:11
I am releasing this application I created to help me organize my music collection. It takes multiple paths and combines ever directory under each path into a single txt/csv file sorted alphabetically. I had a little fun with some of the validation and colors to make it work a little more smoothly.
Usage:
- Select paths using Add
- Select output format (txt or csv)
- List is generated to same directory .exe is located
Attached is the .exe and full source code. It is free for distribution and please feel free to tweak to your needs!
If I tweak this in the future I will post the updated code, consider this V1.0
Enjoy!
DirectoryListV1.0-FullSRC.zip (73.37 kb)
DirectoryListV1.0EXE.zip (12.18 kb)