We have a QNAP NAS mounted on windows 10.
Any file on this volume which is created with a name starting with dot (like .cproject) gets a hidden attribute which cant be changed neither in a command window (cmd and attrib.exe) nor via explorer properties dialog.
However with explorer it is possible to rename, copy, move,remove the file. Furthermore is possible to rename to a name not starting with dot and then sucessfully remove the hidden attribute.
Up to now I did not manage to do such operations in a windows batch file. (Neither with WIN10 nor WIN7)
n:\00\tst\ARM\applikation\fsbl>attrib .cproject
A H N:\00\tst\ARM\applikation\fsbl\.cproject
n:\00\tst\ARM\applikation\fsbl>ren .cproject w.cproject
The system cannot find the file specified.
n:\00\tst\ARM\applikation\fsbl>
What can I do?
Is it somehow possible to mimic what explorer can do?