Sean Ciminello
Sean Ciminello

Reputation: 59

Can't set a .lnk file to hidden

I am trying to make a .lnk file hidden using the command line (windows 10). I try "attrib +h filename.lnk" in the command line however it doesn't make the .lnk file hidden. Instead it makes the file that the .lnk file is linked to hidden. How can I make the .lnk file hidden?

Upvotes: 0

Views: 526

Answers (1)

Sean Ciminello
Sean Ciminello

Reputation: 59

For others looking for the answer to this in the future, Eryksuns comment:

attrib.exe +h filename /L 

Upvotes: 1

Related Questions