arungeek
Hacks and Tweaks



Uncategorized

January 6, 2010

How to Hide/Unhide a file/folder in the drive

More articles by »
Written by: arunenigma

Folks,

For example, if you want to hide a folder “Themes” in the path “C:\Documents and Settings\BH4373\Desktop\Misc\To Cell”.

Follow the below steps.

1. Open the command window. (start+r key and the type cmd and press enter)
Click this bar to view the small image.

2. goto the desired directory.

Code:
cd C:\Documents and Settings\BH4373\Desktop\Misc\To Cell

3. Folder view before the command.

4. Type the following command to hide the folder “Themes”.

Code:
attrib Themes +s +h

5. Now, see the magic.

6. To Unhide the folder, use the following command.

Code:
attrib Themes -s -h
Note:- The folder will be hidden, but you still can access the folder by entering the path in the address bar.

Same steps can be followed to hide a file too in any directory.

I hope it will be useful for most of us… who want to hide some unwanted files… I mean giving restricted access.

Kindly add reps if you like this one.

Cheers,
ArunGeek



About the Author

arunenigma
Computer Science Graduate Student @ Case Western Reserve University, Cleveland, USA




 
 

 
Factory_1

Python Factory Design Patterns using Switch Case

I googled for Factory Method Design Pattern in Python but couldn’t find a good resource. So, I  am sharing an example program to demonstrate this design pattern in Python which I frequently use. The factory method pattern is...
by arunenigma
 

 
 
Gospers_glider_gun

Conway’s Game of Life Implemetation in Python with cool patterns

he Game of Life (or simply Life) is not a game in the conventional sense. There are no players, and no winning or losing. Once the “pieces” are placed in the starting position, the rules determine everything that ha...
by arunenigma
 

 
 
bin-tree

Python AVL Tree Implementation with ASCII visualization

n computer science, an AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any tim...
by arunenigma
 

 

 
bst

Binary Search Tree in Python with ASCII art visualization

Binary search tree implementation in Python with: in, post and pre-order traversals. Also includes methods for insertion, deletion and search of nodes. Deletion is fairly complex and is made possible by keeping track of parents...
by arunenigma
 

 
 
fibonacci

Python, Memoization, Dynamic Programming, Fibonacci Series and some Fun!

ython can implement the recursive formulation directly, caching return values. Memoization is a method where if a call is made more than once with the same arguments, and the result is returned directly from the cache. For exam...
by arunenigma
 

 




0 Comments


Be the first to comment!


You must be logged in to post a comment.