How do I find the Windows common application data folder using Python?

If you don’t want to add a dependency for a third-party module like winpaths, I would recommend using the environment variables already available in Windows: What environment variables are available in Windows? Specifically you probably want ALLUSERSPROFILE to get the location of the common user profile folder, which is where the Application Data directory resides. … Read more

The term ‘node’ is not recognized… In Powershell

These issues cannot be installed from the Package Manager console, so I had to browse lot of things to fix the issues and finally I got the solution. Maybe we followed these scenarios Missing Node.js software Wrongly updated Windows environment path Installed in the wrong path Old version of Node.js software You can download the … Read more

What is the rationale for all the different X509KeyStorageFlags?

Mainly, it has to be this complicated today because it was this complicated yesterday and no one has come up with anything simpler. I can’t come up with a linear narrative here, so please endure the weaving back and forth that’s required. What is a PFX/PKCS#12 file? While I can’t fully say what the origins … Read more

PostgreSQL 9 install on Windows: “Unable to write inside TEMP environment path.”

In my case the solution was related to NotePad++ being the default application for opening .vbs files. If you have the same situation, here’s an elaborate solution: http://igordcard.blogspot.co.il/2012/03/unable-to-write-inside-temp-environment.html In a nutshell, in the registry, you need to go to HKEY_CLASSES_ROOT\.vbs, and set the (Default) entry back to the string VBSFile.