This not work if you do that, assuming that the folder exists:
if not DirectoryExists(UTF8ToSys(Form2.Edit1.Text)) then
begin
ShowMessage('Folder not exists creating...');
CreateDir(UTF8ToSys(Form2.Edit1.Text));
end;
the message is showing, but with this:
if not DirectoryExists(Form2.Edit1.Text) then
begin
ShowMessage('Folder not exists creating...');
CreateDir(UTF8ToSys(Form2.Edit1.Text));
end;
[/code]
no message is not show, but forgot the comprobation, assuming that only CreateDir are execute, is not work to

.