Thursday, 28 November 2013

Change any folder to Recycle Bin (for data security)

For changing any folder to recycle bin type these lines in notepad:

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

1 comment: