Previous Topic: Environment FunctionsNext Topic: EnvGetFirst - Retrieve the Name of the First Environment Variable


EnvExport - Export the Environment to a Text File

Valid on UNIX and Windows

The EnvExport function exports the current environment to a text file.

Function format:

EnvExport(filename as String) as Boolean
filename

Defines the name of the text file.

On successful completion, the function returns TRUE; otherwise, it returns FALSE.

Example:

Rem
Rem Exports defined environment variables
Rem
EnvExport("c:\temp\env.dat")