Tag Archives: directory

Change attributes of all folders/files in dos


Few days ago, I connected my Android mobile to my friend’s PC. My phone’s memory card was infected by folder.exe virus.

This is a simple warm. It just make all your directory as system director and also make it hidden. Then it creates exe file for each directory with directory icon. This is why when you open any folder, it opens in new window (if you are using Microsoft windows as operating system).

So, I just First I deleted all those exe files and deleted recycled directory as well. This should remove your folder.exe virus. But still you need remove the effect of virus. You need to update back the folder attributes.

You can do it by single line command:

F:/>attrib -s -h /s /d

Camera and read directory was not working in BlackBerry 5.0 PhoneGap application – solved


Problem:

Camera and read directory was not working in BlackBerry models with OS 5.0 when using PhoneGap.

Solution:

I had deleted json2.js file reference from my html page, because I was not using this js library anywhere in my project.

After spending 2 hours, I realize that this file was used by PhoneGap js api to use camera and read directory, specially in 5.0 OS devices.

I didn’t find significance of this file in PhoneGap documentation. Strange!!