Lotus Notes, Sametime and Java working together

Sametime and Domino solutions
Lotus Notes/Domino and Sametime software made easy
 


Get notification about
updates

 

Automatically create nested directories from your LotusScript agent

This LotusScript code creates the full directory path without you having to create all the subdirectories.

Declare Function MakeSureDirectoryPathExists Lib "IMAGEHLP.DLL" (Byval DirPath As String) As Long
Sub Initialize
FullDestPath = "c:\aa\bb\cc\dd\" 'Specify full path to create.
If MakeSureDirectoryPathExists(FullDestPath) = 0 Then ' Error during path creating?
 Msgbox "Error creating path: " & FullDestPath
End If
End Sub


Related functions:
CreateDirectory
CreateDirectoryEx
SHCreateDirectoryEx








© Copyright 2004. Botstation