Showing posts with label notepad. Show all posts

Change the icon of removable disk..

The removable disk has a default look.This default look of the removable drives can be changed by a simple trick.Follow the steps to change the icon ..


+ Select your favourite picture which u want to set for the icon of removable disk.

+ Save the selected image as anyname.ico (How to do is open the picture in mspaint. and save as anyname.ico).Make sure that selected image is small.
(OR) You can download any icon and name it.


+ Open note pad and copy the following code.

[autorun]
Label=DILLU
Icon=genelia.ico

+ Here label indicates the name of ur removable disk and icon indiactes the name of your icon.

+ Now save is notepad file as autorun.inf.

+ Copy both files (autorun.inf and Icon file) to your removable drive. You can make both files as hidden.

Now unplug the drive and connect it back to USB and now you can see the icon of your removable disk.Thats it!!

NOTE : The name of the icon you created and the name in the 3rd line of code must be same.

You can also set the background picture for your removable disk.This trick is explained in my previous article "Set background picture for any drive in windows".

Share your experiences in the comments ...

XP hacks - Click here to see all the xp hacks

Open or close cd/dvd drive with a single click in xp

The CD/DVD drive in windows can be ejected or closed with a single click in Windows XP by performing a simple trick.

To open the cd/dvd drive.. follow the steps :

+ Open notepad and copy the following code in it :

Set oWMP = createObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If

+ Now save this file as anyname.vbs

+ When you click it, the disk drive will be opened.


To close the cd/dvd drive .. follow the steps :

Set oWMP = createObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
colCDROMs.Item(i).Eject
Next ' cdrom
End If

+ Now save this file as anyname.vbs

+ When you click it,the disk drive will be closed.

Share your experiences in comments after performing this cool hack.

XP hacks - Click here to see all the XP hacks

Set background picture for any drive in windows without any software


Generally, many of us use third party softwares to set background picture for any drive.But this can be done with a simple code without using any software in windows.


Perform the following steps ..

+ Open notepad and copy the following code :

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
iconarea_image=D:\Wallpapers\celeb\Genelia.jpg
iconarea_text=0x00FFFFFF


+ Here, the path in the 2nd line of code represents the path of your picture.The 3rd line indicates teh color ofthe text in the selected location.Complete list of html code colors can be obtained here.

+ Now save this file as DESKTOP.INI in the location(any drive or any folder) where you desire to set the background picture.

+ After setting it in your favourite location,close the drive and open the location again.

DONE !! .. your picture has been set as background picture for your desired location.

NOTE : Make sure that the extension in the path should be .jpg only and file should be saved as DESKTOP.INI only.

(OR SIMPLY)

+ Open notepad and copy the following code :

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
iconarea_image=Genelia.jpg
iconarea_text=0x00FFFFFF

+ Here, the 2nd line in the code represents the name of your picture.

+ Now save this file as DESKTOP.INI in the location(any drive or any folder) where you desire to set the background picture.And copy the picture too in the same location.You are DONE !!

Frnds ... SHARE your experiences in comments after performing this cool trick.Enjoy !!

Hide data in notepad without using any software

It is a pretty unknown trick to create hidden text files using nothing but Notepad, you can use this simple trick to hide plain text data without using any third-party utility.The text files created using the method below won't show anywhere in DOS or Windows irrespective of the hidden and system display file-settings, the files created using this can only be accessed if you know the correct file-name used while creating the file.

Just follow these steps to hide the data :

+ Launch Windows command prompt from Start Menu -> Run -> Type cmd and press Enter.

+ Using DOS commands navigate to the desired folder.

+Now, type notepad VisibleFile.txt:HiddenFile.txt and hit Enter, you can change
VisibleFile.txt and HiddenFile.txt to names of your choice (notice the : between both file-names), You will be prompted to Create a New file click Yes.

+ Now enter data you want to hide, save the file and close notepad.

+ Visit the file-save location, you will see your VisibleFile.txt file (non-hidden) there, you can open the file and enter any text of your choice as any other normal text file.

+ The hidden file HiddenFile.txt will not be visible under Windows Explorer or DOS.

+To open and read/write your hidden file, type in the command notepad VisibleFile.txt:HiddenFile.txt (change filenames with your own used during Step 3 above) at DOS command prompt and hit Enter.


Note : If the visible file (VisibleFile.txt) is deleted your hidden file (HiddenFile.txt) will also get deleted.

You are done .. !! Express your experiences in the comments ..


Notepad tricks - Click here to see all the notepad tricks