Not able to open windows hard drives ? Here is a fix.

Hi All,

I recently formatted my PC to get rid of a Malware called tavo0.dll. But after that I faced another problem in my Windows. Here is the problem description.

Problem:

When you try to open any of your Hard Drive partitions, the “open with”  window will be open.

Solution:

I gave a search in the Google and found the solution for this problem very easily.

Follow the set of commands below to show and delete the autorun.inf

1. Open Start>>Run and type cmd and press enter. This will open a command prompt window. On this command prompt window type the following steps.

2. type cd\

3. type attrib -r -h -s autorun.inf

4. type del autorun.inf

5. now type d: and press enter for d: drive partition. Now repeat steps 3 and 4. Similarly repeat step 5 for all your hard disk partition.

Restart your system and your trouble will be fixed.

Hope this helps for some one who is facing this problem.

Regards,

DPrasad

Advertisements

Using Oracle + Java5 ? Beware, a bug is waiting for u.

Hi Guys,

I am back with a techie post. During my recent blog search I found an interesting post about a bug regarding the oracle JDBC driver. For those who are not Java guy’s please turn off your sight from this post. And for those, who are still interested to know about JDBC, check this out. And a driver is nothing but a java class which will take the responsibility to provide you the required stuff to access the database from your java program.

If you are using oracle as your database and want to upgrade your Java App to Java 5, Just be careful. There was a recent BUG that is reported to Oracle. Here we go in to the details of it.

Create a Simple table:

CREATE TABLE TEST_TABLE

{

VALUE NUMBER

}

Say your java code goes as shown below……

Configuration:

Oracle version 9.2, java version 1.5. JDBC driver is ojdbc14.jar provided from oracle.

If you try to run the following query…. Stay calm …. YOU WILL BE SURPRISED.

Select * from TEST_TABLE;

————————————

1250000

If you observe correctly, one zero is missing in the above result. And it is some times even worse. It sometimes may give 12, 1250…etc. This bug has been reported to oracle and Oracle replied saying that this is because of the change in the way that BigDecimal.toString() method behaves in JAVA 5.

To know more about this click the following link.

http://www.jroller.com/morisil/entry/can_i_trust_oracle_jdbc

For those who are bored with this techie post,

Hold on,

There is some thing interesting coming in.

Until then,

See ya,

Durga Prasad