Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter SixFile Functions (continued)

DoesVolumeSupportRecycling Function

Overview

The DoesVolumeSupportRecycling function tests whether a volume supported the recycle file or recycle bin feature.

Syntax/Parameters

Syntax

boolean = DoesVolumeSupportRecycling ( string name );

Parameters

name

A string specifying a volume. The string can contain path and file information so long as it resolves to a volume, UNC or cloud name.

Return Value

A boolean value as TRUE if the volume supports recycling files or FALSE if not.

Remarks

The volume is tested for a recycle bin to determine if recycling is supporting. The RecycleFile function must be used rather than the DeleteFile function to place files in the recycle bin.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic