Saturday, October 25, 2008

Hidden Data in Notepad

This tip is to hide a data in Notepad. Follow the steps to do that.

1) Open Command Prompt
2) Type notepad MyFile.txt:StoreHiddenData and press enter. MyFile.txt is the text file you are going to create whereas StoreHiddenData is the alternate stream name.
3) A message will be pop up “Cannot find the C:\MyFile.txt:StoreHiddenData.txt file”. Do you want to create a new file?”, click OK button to proceed create the new file.
4) A notepad will be pop up. Type any data that you want to be hidden from others. Save the file and you are now successfully creating hidden data for this file.

The hidden data you have created will not contribute to the total file size. Just open Explorer and look for this file, you will observe that the file size is still zero. Now you can go ahead to type some data and saved it as usual. Good thing is, it will not affect the hidden data that you have saved earlier. On top of that, you can display or delete all the hidden data you have saved previously. However, you must download and install Streams (http://download.sysinternals.com/Files/Streams.zip) application before you can do so. To delete hidden data, go to command prompt and type more < MyFile.txt:StoreHiddenData.txt. If you want to delete all hidden data , the syntax is streams.exe –d MyFile.txt.

Have a try :-)

Sunday, October 12, 2008

Use Vista/XP without restarting after program installation

Create a .bat file
===============

@echo off
taskkill /f /IM explorer.exe
explorer.exe


Run this after installing the new software.

Tuesday, October 7, 2008

Enable 'Empty folder contents' option

This feature helps to 'Empty the folder contents' by keeping the folder tree structure.


1) Go to Start -> Run, then type ‘regedit’ and press enter
2) Locate to HKEY_CLASSES_ROOT\Directory\shell
3) Right click on ‘shell’ folder and choose New -> Key, name the new sub key as ‘Empty Folder Contents’.
4) Right click on ‘Empty Folder Contents’ and choose New -> Key, name the sub key as ‘Command’.
5) Under the ‘Command’ sub key, double click on ‘Default’ as located at right panel. A small Edit String window will be pop up, then enter this value: cmd /c “cd /d %1 && del /s /f /q *.*”
6) Click OK button to save the setting.


Just 'Right Click' the folder you need to empty the contents and you can see the option enabled. All the files in this folder as well as sub folders will be deleted without disturbing the original folder tree structure.

For Windows Vista, do the following...
============================

# Navigate to the following registry key:

HKEY_CLASSES_ROOT\Directory\shell
# Right click on shell folder, and then choose New -> Key. Name the new subkey as Empty Folder Contents, or anything you would like.
# Right click on Empty Folder Contents and choose New -> Key. Name the sub-key as Command.
# Under the Command sub-key, double click on the Default value data that is located at right pane.
# On the pop-up “Edit String” dialog window, enter the following value:

cmd /c "cd /d %1 && del /s /f /q *.*"
# Click OK button to save the setting, and exit from Registry Editor.


Have Fun :-)