Step By Step Process:
CMD COMMANDS:-
1.Disk part
2.list disk
3.select your disk file (select disk0 or disk1)
4.list volume
5.select volume (0 to 5)
6.create partition primary
7.active
8.Format fs=fat32
It takes some time for formating the Pendrive or disk.