• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2823
  • Last Modified:

Using a batch file to change a file's attribute from hidden

I would like to run a batch command or batch file to change a file's attribute from hidden to unhidden.
Please let me know how do it...
0
MIKOAKE
Asked:
MIKOAKE
1 Solution
 
jkrCommented:
@echo off
attrib -h c:\path\file.txt

will do that. If you want that to work with arguments, use

rem unhide.bat
@echo off
attrib -h %1
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now