NTPSetTempPath

 

NTPSetTempPath ( <NewTempPath> ) -> <ErrorCode>

 

 

Description

 

This command allows the setting of the NotesToPaper temp file, the file NotesToPaper uses to save temporary files. By default this setting is read from the NTP.INI. If the directory is set by use of this function any NTP.INI settings are ignored. This function makes it possible to do without the NTP.INI file.

 

 

Note: In order for NotesToPaper to start using the NTP.INI again, the function is reset by calling an empty string or by use of the NTPClearTempPath command.

 

 

Note: The command NTPSetTempPath should be the first in any script as most other commands access the temp. Directory settings!

 

 

Declaration for Lotus Script

 

Declare Function NTPSetTempPath Lib "NTP.DLL" ( ByVal NewTempPath As String ) As Long

 

 

Parameter

 

<NewTempPath> (STRING)

Directory to save temp. Files.

 

 

Return value

 

<ErrorCode> (LONG)

Number of the error encountered (0 = no error)