Thursday 1 December 2011

Change any folder to Recycle Bin (for data security)

For changing any folder to recycle bin type these lines in notepad:
-----------------------------------------------------------------
[.ShellClassInfo]
CLSID={645FF040-5081-101B-9F08-00AA002F954E}

----------------------------------------------------------------
And save as: Desktop.ini  in your folder( which you want to change into recycle bin ) to
change recycle bin.

We save desktop.ini in  D:\data2 folder and then we open dos prompt and type the above
command, which will convert the data2 folder into recycle bin.
------------------------------------------
D:\> attrib +a +r +s data2 /s /d
-----------------------------------

No comments:

Post a Comment

Note: only a member of this blog may post a comment.