How to Create a list of new packages

book

Article ID: 132309

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister

Issue/Introduction

We want to create a list of package names all at one time.  Is there an automated way to do this?

Environment

CA Harvest SCM on the Windows platform

Resolution

This Windows command will read a text file containing a list of package names, and will perform the "hcp" command for each name in the file: 

for /F "tokens=*" %%i in (%_FileName%) do ( 
hcp "%%i" -b <brokername> -en <projectname> -st <statename> -usr <userid> -pw <password> -wts -oa MassCreatePackages.log 
)