PutAllInFolder (NotesDocumentCollection - LotusScript®)
Adds all the documents in the collection to the specified folder. If the folder does not exist in the document's database, it is created.
Defined in
Syntax
C all notesDocumentCollection .PutAllInFolder( folderName$ [, createonfail ] )
Parameters
folderName$
String. The name of the folder in which to place the documents. The folder may be personal if the script is running on the workstation. If the folder is within another folder, specify a path to it, separating folder names with backward slashes, for example, "Vehicles\Bikes".
createonfail
Boolean. Optional. If True (default), creates the folder if one does not already exist.
Usage
If a document is already inside the folder you specify, PutAllInFolder does nothing for that document. If you specify a path to a folder, and none of the folders exist, the method creates all of them for you. For example:
Call doc.PutAllInFolder( Vehicles\Bikes )
If neither Vehicles nor Bikes exists, PutAllInFolder creates both, placing the Bikes folder inside the Vehicles folder.