The Folder Object

Description

The Folder Object allows us to access folders and their propereties. Also with the Help of this Object,One can Find Files.  

Syntax

folder "name"="path"
Where name is the name of the folder object.path is the absolute path of folder or variable, say form(folder).

Folder Properties

Filespec

Description

Pattern to match the filename-example: "*.html", "a*.doc" etc.
Default filename is "*.*"

Syntax

docs(filespec)="*.doc"

Minsize

Description

Minimum size of the file to be found.

Syntax

docs(minsize)="2048"

Maxsize

Description

Maximum size of the file to be found.

Syntax

docs(maxsize)="120000"

Type

Description

Finds whether all File or Folder.

Syntax

docs(type)="file" docs(type)="folder"

Datefrom

Description

Time value in integer format.

Syntax

time t t(hour)-="1" docs(datefrom)=t(time)

Dateto

Description

Time value in integer format.

Syntax

time t
t(second)-="300"
docs(dateto)=t(time)

Startat

Description

Files to be start with.

Syntax

docs(startat)="100"

Filename

Description

Gives file name.

Syntax

docs(fullname)

Fullname

Description

Gives full name.

Syntax

docs(fullname)

Extension

Description

Gives extension.

Syntax

docs(extension)

Time

Description

Gives date of the file in integer format.

Syntax

time t
t(time)=docs(time)
t(date)-t(month)- t(year)
t(hour):t(minute):t(second)

Size

Description

Gives size.

Syntax

docs(size)

Path

Description

Gives full path.

Syntax

docs(path)

Count

Description

Gives the current file count.

Syntax

docs(count)

Reset

Description

Resets file specification

Syntax

docs(reset)
docs(filespec)="*.pdf"

Back

 

 
© Copyright 2002 Niti Telecom Consultancy. All rights reserved