Gregg

In general you should always try to avoid HARD CODING items. It is always much better to attempt to read the value from the registry or some other method if at all possible. Your method would work for most, but better to work for ALL instead.

As for C vs C$ the only way I could see it being C is if it were a 9x or someone specifically made one for C, but the C$ share should still exist unless it has been disabled on purpose. There again, coding to work around that would be best practice as well.