The following steps can be used to create a batch program to backup your PS projects:
1. Create a text file that contains a list of projects that need to be backed up. Call the file project_names.txt
2. Create a batch file (see below):
FOR /F %%a IN (project_names.txt) DO %pside% -HIDE -PJTF %%a -FP %export_path% -CT %dbtype% -CO %user% -CP %pwd% -CD %dbname% -QUIET -AF 0 -DDL 1 -PPL 0 -CFD 0 -CFF 0 -LF %export_path%%%a.log
This batch file will create a date subfolder inside C:\projects folder and will copy all the projects listed in project_names.txt to this subfolder.
Note: The batch file assumes that the project_names.txt file is in the same folder.