How to create a folder in a directory say D:\test using X++? the method should also check if the folder by that name exists or not.
Please advice.
How to create a folder in a directory say D:\test using X++? the method should also check if the folder by that name exists or not.
Please advice.
Hi Prashib,
try this…
static void FolderExists(Args _args)
{
;
if(WinAPI::folderExists(“E:\FolderName”))
{
info(“Exists”);
}
else
{
info(“Not Exists”);
}
}
Naresh Kolli
Thanks Naresh