sDir | (String) Relative or absolute path and folder name.
It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files or folders. |
---|
var bExist = Pm.DirExist("C:\\Promotic\\Apps\\Application1\\");
if (bExist)
{
// ...folder 'C:\Promotic\Apps\Application1\' exists
}
var bExist = Pm.DirExist("C:\\");
if (bExist)
{
// ...disk 'C:\' exists
}