You can partition a hard drive with Windows' Disk Management utility by shrinking the existing partition and formatting the new unallocated partition.
To format a hard drive before you start using it in Windows, use the Disk Management utility; on a Mac, use Disk Utility.