Step by step guide on PerforceDFiles Tool | Perforce Tutorial


This tool can be used to add thousands of files and directory in perforce server on single click which is having different-different hierarchy

Java should install and class path should set.

Put the code under ClientSpec root folder in the same hierarchy which you want to add in perforce server.

Create a changelist first. Just go to command prompt and type “p4 change”. Perforce will automatically create a changelist and will give you the changelist number. It will also ask you to update a text file with the changelist description. Just give the appropriate description there. Note the changelist number.


The file file has one file called “”. So first update it with two values. The changelist number and the source path. The source path can be “D:/Perforce/Components/DatabaseServer”.
Use forward slash only “/”.

Step4: Once these files are updated, you can run the script file “makescript.bat” which will update the “checkinscripts.bat” with new checkin scripts.

Step5: Run “checkinscripts.bat” and refresh perforce console. See that new folder is created below components folder and the files are inside

Note: The file which will not be added into perforce server can be found in “missedfiles.log”



Tagged : / / / / / / / / / / /