Hard Drive No Sleep v1.0

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.

hdns

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.

hdns-config

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)

Tags: ,

C# Directory List Application

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. 

dl

Usage:

  1. Select paths using Add
  2. Select output format (txt or csv)
  3. 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)

Tags: ,



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen
Tweaked by ajondeck.NET

About the author

Andrew Herrick
I am a full time developer for Blue Horseshoe Solutions based out of Carmel, Indiana. I enjoy learning new technology and hope to give back with some of the cool things I pick up along the way.  Check me out on Stack Overflow!


Categories

None

Recent comments

Comment RSS

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in  anyway.

© Copyright 2008