Archive for May, 2008

The ‘Open with’ problem

Posted on May 24, 2008. Filed under: Viruses | Tags: , , , , , , |

Most of you would have had bad luck when connecting USB pen-drives or CDs. These storage mediums may carry viruses that get activated via the autorun functionality in Windows. Some of these viruses also store autorun files in the system’s local drives. This results in popping up the open with dialog box when you double click the drive icons. Also explore might not function. A virus that i got recently from my USB is such that it stores autoruns in all drives. Also, I couldnt change the ‘view hidden files‘ setting in folder options. After applying the setting, nothing happens; when i go to folder options again, the setting is back to ‘do not show hidden files‘. The removal of autoruns is simple from read-write drives (not possible in CDROMs/DVD ROMs). All you have to do is run command prompt. Go to the root of the unaccessible drive, type the following and press enter. But before that you will have to end the process named explorer.exe from task-manager or command line.

del /a:h /f c:\autorun.*

Where, c:\autorun.* means all files that are named autorun with any extension in drive c: to be deleted. The command deletes the files even if they are hidden, even if it has to be forced. Now run the explorer.exe from task-manager. And all is well. For ease, i have created a batch file for cleaning all local drives in an instant by double clicking the .bat file. It is given below.

echo off
echo Deleting autoruns in C,D,E,F…
taskkill /f /im explorer.exe
del /a:h /f c:\autorun.*
del /a:h /f d:\autorun.*
del /a:h /f e:\autorun.*
del /a:h /f f:\autorun.*
start explorer

I would recommend disabling autoruns completely. But if that feels too restrictive, you can always bypass autoruns by holding down the shift key while connecting USB device or closing the CD tray with CD.

Advertisements
Read Full Post | Make a Comment ( 4 so far )

Custom folder backgrounds in XP

Posted on May 21, 2008. Filed under: Computers, Tips & Tricks | Tags: , , , , , , |

Most of my readers would be knowing this already. But i thought i would share it anyway for those who does not. Here, i will explain how to change a folder’s background with an image. It is actually very simple. You just have to create a desktop.ini file and store it in the desired folder; and use the attrib command.

First, create a text file and add the following lines to it.

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
iconarea_image=C:\background.jpg

Where, c:\background.jpg is the path of the required image(change it to your path). Now, save the file as desktop.ini inside the folder of which the background is to be changed. Now goto command prompt and type the following and press enter.

attrib +s "c:\folder"

Where, c:\folder is the path of the desired target folder(change it to your path). After that, the background image should have changed. Now you can put cool images as the background of the folder. It is the same thing that the folders My Pictures and My Videos uses. This technique uses image tiling. That is, the image will be tiled on the background.  Have fun.

Read Full Post | Make a Comment ( 6 so far )

Passing Milestone

Posted on May 17, 2008. Filed under: Perspective, Uncategorized |

Well guys and babes… My B.Tech classes are over this week. Now all i have to do is prepare for the final exams and needless to say, the good times in college are over. Time to move on. To the next level.

Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...