Previous Topic

Next Topic

Book Contents

Book Index

Prepend Lines

"Prepend Lines" inserts lines at the beginning of a file. Up to four different lines can be inserted, including blank lines.

Input Parameters

Output Parameters

Notes

Use this prepend operation only against text files. Do not use it in a binary file, because this could have unforeseen consequences.

This built-in script can be run only one time per file.

This built-in script cannot be run as the first step of a task.

Example #1

Ed wants to insert a note with today's date followed by a blank line into archived log files that are moved from one server to another.

To perform this operation with MOVEit Automation:

  1. Create a new task with a source, process, destination, and schedule.
  2. Select "Prepend Lines" as the process.
  3. Set process parameters: