How to edit hidden files on windows? #52401
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-io
os-windows
Windows 10
Here is my code:
When I run this code on windows and the file is NOT hidden everything works nice.
But when I hide the file I got error:
Notice that when I run this code on an hidden file I get the data of the file:
In both case the file was not in read only mode. He had only the +H attribute.
Why can't I edit an hidden file with dart ?
The solution I found is to create a hidden directory and put my file in this directory. So the file is not hidden but the directory is. This way I can edit the file.
The text was updated successfully, but these errors were encountered: