PrefLocationOfFiles()

Specifies preferences for file locations.

Token ID

AFTKN_SET_LOC or 616

Syntax

VOID PrefLocationOfFiles( [ANSISTRING ArchiveDir];
                          [ANSISTRING CustomViews]; 
                          [ANSISTRING DefaultSaveDir];
                          [ANSISTRING BackupDir];
                          [WORD BackupDaysBetween];
                          [ANSISTRING CachingDir];
                          [ENUM CopyArchive])

Parameters

ArchiveDir As ANSISTRING

(Optional) Location of the archive directory.

CustomViews As ANSISTRING

(Optional) Location of the custom views directory.

DefaultSaveDir As ANSISTRING

(Optional) Location for item files and attachments.

BackupDir As ANSISTRING

(Optional) Location for backups.

BackupDaysBetween As WORD

(Optional) Backup interval.

CachingDir As ANSISTRING

(Optional) Location for Caching directory.

CopyArchive As ENUM

(Optional) Enumerated values:

Number

Value

Description

0

NO

Change the archive location without copying the archives.

1

YES

Change the archive location and copy the archives to the new location.

201

PROMPT

(Default) Prompt the user to choose whether they want the archives copied.

See Also