Hi Friends. Windows question?
I try to create a directory with Lazarus/FreePascal CreateDir ('C:\ProgramData\Mycompany\MyPascalApp\'); but it won't work!
It will work if I exclude the last map like this: CreateDir ('C:\ProgramData\Mycompany\');
C:\ProgramData already exist in Windows.
It seems to me that CreateDir only can create one mapp and not two mapp or a mapp in a mapp!
I can't figure it out!
Are there someone smart, that can help me understand what's wrong?
Thanks in advance.
Best regards
Bob