0

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 3

1

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


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

Sign up to request clarification or add additional context in comments.

Comments

0

attrib -h myfile.txt or attrib -h "c:\filepath\Myfile.txt"

For more information: https://technet.microsoft.com/en-us/library/bb490868.aspx

Comments

0
attrib -h #filenamehere#.txt 

replace #filenamehere# with the path to the file

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.