When referring to this post here:
http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/
it tells you to run php -q path\\to\\
It might be useful to register php.exe as an ENVIRONMENT VARIABLE so the command line can recognize the 'php' command instead of needing to enter the full path '\wamp\bin\php\php5.3.8\php' as the command.
To do this, you can follow the steps outlined on this page: http://windows.fyicenter.com/view.php?ID=60. Except for Step 5, enter the path of WAMP's php.exe instead. For example, just add in $;C:\wamp\bin\php\php5.3.8 to the Variable value field. And each time you open up your command line, just run php using
php pageYouAreRunning.php
..still keeping in mind that the pageYouAreRunning.php is relative to the current path in your command line.