I am developing a PHP site. It is simpler for me to check syntax through PHP -l than to test in browser and hope for a descriptive error. I made myself a btach file that I drop the php file onto it to check it's syntax before uploading. (Mainly for missing ';'s.)
Now, I wanted to take this a step further and just add this option as a context menu choice on php files. I added the following to the registry:
[HKEY_CLASSES_ROOT\php_auto_file\shell\&check syntax]
[HKEY_CLASSES_ROOT\php_auto_file\shell\&check syntax\command] @="PHP -l %1 && pause"
For some reaon, this does not show up on my context menu, even after restarting. I've done context menu additions in the past and don't recall such an issue. Any clue?