Linux may have command-line power in the bag, but there's something about the simplicity of Windows commands that I've always loved.
While I'll stick with open-source when given the choice, Windows pays my bills. Here are some one-liners that get me through the day. As an IT pro, I like to use the Windows command line as much as possible, as it avoids the "That's it? Hell, I could have done that!" reaction.
Saturday, May 28, 2011
Remove hidden attribute
C:\>attrib -h c:\* /s
I've seen a couple of malware infections lately that have set all files to hidden. Needed to run this to reset the attributes.
usually i use this :
ReplyDeleteattrib *.* -r -h -s /s /d