Tuesday, March 5, 2013

Running power calculator in windows 7

The following are important for the power calculator power toy to run successfully in windows 7:  
  • The file pcalc.exe needs to run in compatibility mode for windows XP. This can be set by right clicking the file pcalc.exe in windows explorer and click "Properties" of the context menu. Then click on the button near the bottom "Change settings for all userse" and check the compatility mode as shown below. Click OK to save the changes.


  • The file pcalc.exe can not reside in windows\system32 folder. I found windows folder or other folders should work.

Sunday, March 3, 2013

Use search in windows 7 to clean up the mess from BOX sync

Today I found that the BOX sync I installed for BOX.net caused a big problem in my data folder. It created multiple copies of the same file for each file in my local and remote data folder and some of the files were cloned for up to 20 times.

After I did a quick look at many of the cloned local copies created by BOX sync, I found there are some patterns on their file name and last modification date:

  • They have a file name appendix (n) before the file extension, where n is a number ranging from 1 to 20
  • They were last modified on the same day: Feb. 26, 2013
  • They are all files. No sub folders were cloned
I could use search in windows 7 to locate all the files satisfying the above patterns with the following search syntax:
filename: "(" kind: NOT folders datemodified:‎2/‎26/‎2013
More than 3000 items were found matching the search criteria. After I verified that they were actually excessive files, I selected all of them and deleted them to clean up the mess.