Apr 142010
 

Associating Javascript in Command ShellI ran across this error a few days ago while setting up a PHP server on my Windows XP Pro SP3 box for testing purposes.  As part of this setup, a script needs to be run that associates the .php extension with php-cgi.exe. Here is the script:

cscript %windir%\system32\inetsrv\fcgiconfig.js -add -section:"PHP" ^
-extension:php -path:"C:\PHP\php-cgi.exe"

The problem, is that when I tried to run the script, I got the error: Input Error: There is no script engine for file extension “.js”. It took me quite a bit of searching before I found the fix that worked for me on this IBM forum. Hopefully, if you’re facing this issue, you find my article before the 100 other articles talking about the 99 other fixes that didn’t work for me. :) Continue reading »

Reddit<-- Share/Bookmark

Enabling new regional themes in Windows 7

 How-To, Just BS, Windows 7  Comments Off on Enabling new regional themes in Windows 7
Mar 292010
 

Win7ThemeDir Did you know that Windows 7 shipped with at least four regional themes that you can’t see by default? Me either until this week!  It’s pretty simple to install each one, you’ll be done in seconds.

Paste each of the following lines into the address bar of a windows explorer window, and hit enter. (see pic to the left for clarification) Once you are inside the folder, double click the XX.theme file in there to install it. If you browse the folders manually instead of using these links, you will need to disable hidden files and folders.

%windir%\Globalization\MCT\MCT-AU\Theme
%windir%\Globalization\MCT\MCT-CA\Theme
%windir%\Globalization\MCT\MCT-GB\Theme
%windir%\Globalization\MCT\MCT-US\Theme
%windir%\Globalization\MCT\MCT-ZA\Theme

I’ve also seen that some of the following country themes exist, though I don’t have access to them on a US licensed version of Home Premium. If you want to see everything you have available, just browse back to the MCT folder, and see what’s in there!

%windir%\Globalization\MCT\MCT-DE\Theme
%windir%\Globalization\MCT\MCT-JP\Theme

Each time you double click a theme file it will open your personalization control panel, so you may as well leave it open until you’re done. Once all your themes are installed, enjoy all of your new choices!

SATheme

Mar 252010
 

Backup error Some of you (that have a specific setup) might have noticed that you have an extra profile in your Windows 7 C:\Users directory.  MCX1-%COMPUTERNAME%. I noticed mine when it started adding the following line into my backup results:

The backup completed but some files were skipped.

Backup encountered a problem while backing up file C:\Users\Mcx1-CPL-SHOE\Contacts. Error:(The system cannot find the file specified. (0x80070002))
Backup encountered a problem while backing up file C:\Users\Mcx1-CPL-SHOE\Searches. Error:(The system cannot find the file specified. (0x80070002))

I wasn’t sure why that profile existed in the first place, and didn’t appreciate it mucking up my backups. I was poised to just delete it, when I realized that might be a silly move. Research twice, delete once. (see item #9 under ‘Set up Xbox 360 as a Windows Media Center Extender’)

So the profile was legit, it was created when I connected Media Center to my Xbox 360. So how do I make my backups quit complaining? What if I just made the folders? Would that satisfy it?  It turns out it does.  I created two empty folders named C:\Users\Mcx1-CPL-SHOE\Contacts and C:\Users\Mcx1-CPL-SHOE\Searches, and it was happy.

After all this, I ran across this Microsoft article which goes into much more detail about why backup wants to back up those folders despite their non-existence. But in my humble opinion, just create the folders and move on unless you want to spend your weekend optimizing your registry.