Most likely (because there are a few things that could be wrong) this is because the SQL Server service account cannot write the root C:\ folder. Try using a different path/network share.
When using XP_CMDSHELL, it's important to note that you are no longer the "user" executing the passed BCP command. When you pass your BCP command string to XP_CMDSHELL, a new session/thread is started on the underlying OS (outside of SQL Server processing). This new session uses the authentication of the account that the SQL Server is running as.
It is this other account that needs access to write to the location you are placing the format file.
Further, if your SQL Server is a networked SQL Server (not a SQL Server running on your desktop) it is most likely that permissions to write to C:\ have been blocked. Even a desktop may have been configured by an IT department to not allow writing to the C:\ root folder.
Just try writing to a different folder that you know has been given access to all to write to.