U++ framework
Do not panic. Ask here before giving up.

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 Go to previous message
Zbych is currently offline  Zbych
Messages: 332
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.
 
Read Message
Read Message
Read Message
Previous Topic: Default comparisons for type derived from Moveable
Next Topic: [FIXED] GLDraw,GLCtrl would be nice to work properly
Goto Forum:
  


Current Time: Sat Jun 27 08:17:01 GMT+2 2026

Total time taken to generate the page: 0.00404 seconds