In windows explorer My drive type is 'disk drives' and this drive type is also of my C:\ too.Iam using Windows XP and win2k but in both OS iam getting the same drive type Fixed.Iam ending the case statements correctly.

When using the getDriveType function "removable" refers to the fact that you can remove the media from the drive and replace. It does not mean the drive is removable.

A "removable" drive would be something lile the ZIP drive.

The floppy drive has it's own category, as does cd-roms.

It is possible to get the drive capacity from the drive letter and considering the orders of magnitude difference between your usb drive and your hard drives it might be an easy way to detect the difference. Look into the function "GetDiskFreeSpaceEx". This returns a structure where one of the fields is the number of bytes on the drive.