Hello. I would like to use api win32 for creating an hidden file on win os. It seems not possible using js / nodejs. With python, importing the api, it is possible (with SetFileAttributes routine and FILE_ATTRIBUTE_HIDDEN parameter).
So how can I link a python script to the main js code? Can you please give me some reference about this matter? I ve found nothing on the web.
It might be possible with OS.File.setPermissions I’ll check.
You should have 0 need for python. Here aresome docs on js-ctypes:
I don’t recall how, but I’m pretty sure you can use nsIFile. Although the new methods for file system is OS.File and nsIFile is getting deperecated in various scopes.