FileSave

Examples


The FileSave command indicates the options chosen in the native “file save” dialog box when a file is saved. The options indicate the location and name of a file to be saved.

Syntax

FileSave file relative_path

Parameters

relative_path - The path, in generic format, indicating the name and location of the file being saved. The path can be an absolute or relative path.

Relative paths allow indication of the current directory, subdirectories or parent directories. In generic format, ./ indicates the current directory while ../indicates one directory level up. The following table contains some examples of relative paths.

[spacer]

Relative path

Description

./TEST.TXT

The file TEST.TXT in the current directory.

DATA/TEST.TXT

The file TEST.TXT in the subdirectory DATA.

../TEST.TXT

The file TEST.TXT, up one level in the directory structure.

../ ../TEST.TXT

The file TEST.TXT, up two levels in the directory structure.



Documentation Feedback