invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Syntax

The following Invantive Script statement ensures that a folder structure exists:

local create directory "FOLDER-PATH"

All folders in the folder path are created when not yet present. No changes are made when a folder structure already completely exists.

Examples

Create a folder named c:\temp:

local create directory "c:\temp"

Create all elements of the folder structure c:\temp\step2\step3 using a variable defined using Define:

local define ROOT_PATH "c:\temp\step2\step3"

local create directory "${ROOT_PATH}"