Posted 24 April 2006 - 03:40 PM
Try this. Repost your code, except use the code tags this time. When you add your reply, in the row right above the text window, there are some little icons. The one on the far right is a code tag. Click on the number symbol to insert a code tag. Then paste in your code. Then click again to insert a closing code tag.
That way your code is readable. Other than that, since it works for the first three, then you are probably entering the wrong name for the 4th. You should add some sort of code to check and see if the drive even exists before trying to perform operations on it. That else right before all of those endifs doesn't need to be there though. As it stands right now, if your program passes all of the other checks, it is going to get to that final else, and then nothing.