Search code examples
batch-fileattributeshidden

How do I set a file to non-hidden with batch?


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?


Solution

  • you can use the command attrib -H <filename> in your batch script.


    Ref: http://www.easydos.com/attrib.html