Passing perforce batch files Mar 8, 2012 • toumorokoshi My coworker showed this to me today: if you want to use a perforce command from the command line, and pass it a batch of filenames from a command (such as find or grep), simply use: p4 COMMAND ${ENTER_COMMAND_HERE}