Home » U++ Library support » U++ Core » How to create a hidden folder?
|
|
Re: How to create a hidden folder? [message #60326 is a reply to message #60325] |
Thu, 30 November 2023 21:08  |
Zbych
Messages: 327 Registered: July 2009
|
Senior Member |
|
|
forlano wrote on Wed, 29 November 2023 22:41
SetFileAttributes(folder_name, FILE_ATTRIBUTE_HIDDEN);
On Windows 10 it works. I hope it works even for linux and MacOs.
This is WinAPI, it won't work in Linux.
Just add a dot at the beginning of the filename to hide it in Linux.
|
|
|
Goto Forum:
Current Time: Tue Apr 29 19:49:10 CEST 2025
Total time taken to generate the page: 0.01062 seconds
|