The p4v Perforce GUI client has an \'Actions > Remove from Workspace\' menu command which removes all files from the workspace that are under version control and were not opened
Specifying a revision of either #none or #0 will remove the files:
#none
#0
p4 sync //depot/project/...#none p4 sync //depot/project/...#0
Use the -f switch to force removal of the files even if they are writeable (it won't affect files that are checked out, however):
p4 sync -f //depot/project/...#0