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: 325 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: Sun Apr 28 19:07:04 CEST 2024
Total time taken to generate the page: 0.02331 seconds
|