Locking a folder using command prompt... plzzzzzzz help guys and girls....?

once i saw a friend locking a folder in his computer using command prompt with keys like +/- and h,k, etc.. i am not very sure.. can someone help me how do i do it.. once locked that folder will be hidden and cannot be accessed through search till it is unlocked.. the folder must be immediately in a partition of the hard disk and not as a subfolder.. pls pls.. help me............
 
Back
Top