The command prompt command is for the serious user/Sys Admin. click here
If you want a simpler method then Click Start, click Control Panel, and then click Performance and Maintenance.
Click Administrative Tools, double-click Computer Management, and then in the left pane, click Disk Management.
Right Click on the Disk you wish to partition or format etc.