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

The Windows 7 Taskbar- How to make it work for you

 How-To, Windows 7  Comments Off on The Windows 7 Taskbar- How to make it work for you
Mar 222010
 

Taskbar

A great new feature in Windows 7 is the taskbar.  It can be a bit of a shock though, and many people want to revert back to the ‘old way of doing things’. Allow me to explain what you have to gain by leaving it as-is, and show you some tricks to make it even better. Then, if you still don’t like it, I’ll explain how to put it back to Windows XP behavior.

First. what is it that’s going on down there?  You used to just have a clean taskbar, maybe a little area with quick launch icons that stayed tucked out of the way and left room for all the program windows. Now they’re huge, and when you launch them, you don’t get a program window at all, it just glows!

Continue reading »

Windows Search. Kill it with fire?

 How-To, Windows 7  Comments Off on Windows Search. Kill it with fire?
Mar 192010
 

Indexing[1] I wanted to take a moment and talk about this feature Windows added awhile back.  I know quite a few people who when ‘optimizing’ a computer will go through a ritual of setting certain things up, and removing other processes/programs. I have a ritual like this, and I’ll admit some of it might be voo-doo or superstition. One of these often targeted programs is Windows Search, and I don’t think it necessarily deserves to have its service disabled as a setup measure.

Windows Search 4.0 has a purpose, and it can be pretty handy, depending on how you use your computer. First, it only indexes a few common places (Desktop, My Docs/Pics/etc, Email). What does it mean to index vs. plain old search?  When you search your hard drive with Search Companion, your computer is taking the time to look at each file, determine if it meets your criteria, and moving on. With Indexing, it searches beforehand (this is the thing people complain is slowing their computers), and places all the relevant data into a database. When you perform a search with Indexing, it can sort the database, and find your answer MUCH faster. The key is to limit how much work it is to maintain that database. Continue reading »