Command:Redirect

From Lavish Software Wiki
Revision as of 07:26, 23 June 2005 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
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