Development‎ > ‎VBScript‎ > ‎

Path Builder

A simple wrapper around FSO (FileSystemObject) BuildPath method.
'*********************************************************************************
'* Function signature:
'* Description:
'*                  
'*
'* Parameters
'*
'*
'*
'* Return Value
'*
'*********************************************************************************
Function PathBuilder(sPath, sName)
    Dim oFSO: Set oFSO = CreateObject("Scripting.FileSystemObject")
    PathBuilder = oFSO.BuildPath(sPath, sName)
    Set oFSO = Nothing
End Function

Comments