This depends on the type of filesystem. I believe that parted will call the necessary ntfs utilities if required. Read the man page.

Direct instructions with the dd command will perform the actions listed on the command line regardless of the filesystem type or your intentions. Be careful.