Thursday, December 15, 2011

Lock a folder in windows XP without any software



To Lock a folder in windows XP without any software. Follow the steps Below.
Make a Folder in C drive rename it as “abc” without quotes.
Now open Command Prompt from Start Menu.
Type “attrib +s +h C:\abc” without quotes and press enter.
This command will Make your folder invisble and it can not be seen even in hidden files and folders
To make it visible again type “attrib -s -h C:\abc”
You can lock any other folder also by changing the location C:\abc to address of your folder.

Monday, December 5, 2011

Automatically defrag drives

I found an article on the web the other day about automatically defragmenting drives and thought that I might just as well post a tutorial about it here. Basically, this allows you to defrag any drive by right-clicking on it and choosing “defrag.”
To enable this, open notepad and paste the following code:
; context_defrag.INF
; Adds Defrag to the right click context menu in Windows XP
[version]
signature=”$CHICAGO$”

[DefaultInstall]
AddReg=AddMe

[AddMe]
HKCR,”Drive\Shell\Defrag\command”,,,”DEFRAG.EXE %1″

Next save it as context_defrag.inf onto your desktop or basically anywhere… (Note: be sure to save it as All Files and not Text Documents!)
Right-click on it, choose Install and you’re ready to start defragmenting!


I believe the original article by Paul Thurrott is here.