Step 1    Launch Command Prompt, type diskpart and press Enter key.

Step 2  Type following commands one by one and press Enter key after each command.

list disk (It lists all disks connected to the computer and each disk has a disk number.)
select disk # (Please replace # with the disk number that represents the RAW drive)
clean (This removes everything on the selected disk, including partitions and files)
create partition primary (To create a new partition on the disk)
format fs=ntfs quick (If you want to convert RAW to FAT32, then replace ntfs with FAT32)

You're all set!