Example - Batch

Important note for Windows NT users:

The first ppbS command in a batch file should be invoked using the NT start command. If it is not, the batch file can 'hang' at ppbS.

Additionally, the start command does not reliably run the command/program when it is specified within double quotes (which is necessary when the program or path to program contains spaces).

A sufficient technique appears to require a change to the path environment variable.

@echo off

set ppbPath=C:\Program Files\ppb
set pathHold=%path%

set path=%ppbPath%;%path%

start ppbS

ppbS create "Backing Up Data" ShowPct 1 yes Crawl 1 SetCrawlTime 1 120000
ppbS settext 1 "Archiving January..."
c:\pkzip c:\temp\jan.zip c:\data\jan\*.dat

ppbS settext 1 "Archiving February..."
c:\pkzip c:\temp\feb.zip c:\data\feb\*.dat

ppbs shutdown

set path=%pathHold%
set pathHold=
set ppbPath=