Hi uh (can I call you "uh" for short?)
Welcome to JavaRanch!
We don't have too many rules round these parts, but we do have our
naming policy . You've got to have a first and last name. Many of us use our real names -- keeps us honest. Head over
here and change your display name, pronto. Thanks, pardner!
Now, on to your question: first, what is a "hard disk number?" Second, regular applets don't have any access to the user's local machine resources, so whatever a hard disk number is, it's quite likely that an applet won't be able to see it.
If an applet is digitally signed, it can be granted more privileges. This is a complex topic, harder than it should be. Search in this forum to find some information about it.