ScriptForge.FileSystem service

The FileSystem service includes routines to handle files and folders. Next are some examples of the features provided by this service:

note

The methods in the FileSystem service are mostly based on the XSimpleFileAccess UNO interface.


Definitions

The table below lists the main parameters used by most of the methods in the FileSystem service.

Parameter

Description

FileName

The full name of the file including the path without a path separator at the end.

FolderName

The full name of the folder including the path. It may or may not contain the ending path separator.

Name

The last component of the Folder Name or File Name including its extension. This parameter is always expressed using the native format of the operating system.

BaseName

The last component of the Folder Name or File Name without its extension.

NamePattern

Any of the above names containing wildcards in its last component. Admitted wildcards are:

  • "?" represents any single character

  • "*" represents zero, one, or multiple characters


tip

The full name of the folder including the path. It may or may not contain the ending path separator.

" itemscope="true" itemtype="http://schema.org/SoftwareSourceCode" itemprop="codeSampleType" content="snippet" data-tooltip="ク="hd_i;">

Definitions

s="emph">mentemprop="codeSampleTyp,1evel nam <04411s.Msgalways expressed

OnNodeSelected

No

Parameters:

Parameters:0racters

<19 Ga6597619" cladal Create and dele9 Ga6597619" cladal <8="auto">Sortce.org/xref/help/source/text612988 "C#bm_id314743823071unctparameters">Pa88 "C#bm_id314743823071unctpaたモtX", "C:\Temp\imasource/text612988 "C#bm_g/SoftwareSourceCode" itemprop="codeSampleType" content="snippet" data-tooltip="クリックしてクリップボードにコピー">



TaTE>
 ontaiuto">
 ontaithe above names con>




TaTE>
 ontaiuto">
 ontaithe above names con>
TaTE>
 ontaiuto">
 ontaithe above names con>