I'm trying to edit the attribute of a file to non-hidden in a batch script. I have no luck so far, can someone help me with a code?
3 Answers
you can use the command attrib -H <filename> in your batch script.
Comments
attrib -h myfile.txt or attrib -h "c:\filepath\Myfile.txt"
For more information: https://technet.microsoft.com/en-us/library/bb490868.aspx