Command:Redirect

From Lavish Software Wiki
Jump to navigation Jump to search

Not to be confused with Dog

Syntax

Command Difficulty Rating
Redirect
Usage Intermediate
Level of Understanding Intermediate
Computer Savvy Intermediate
Logic Beginner

Redirect [-append] <Filename> <Command>

Description

Redirects output of a single command to a text file in the LavishScript "Current Working Directory". Appends to the file if the -append switch is given; otherwise, any existing file with the given name is replaced.

Examples

  • Redirect TLO.txt TopLevelObjects
Creates a file named TLO.txt with the output of the TopLevelObjects command

See Also