In the following, pretend ! is an ampersand. PAD files don't let me give literal examples. Amper converts ! to !amp; in HTML files and back, but does not convert it when the ! is already in an entity e.g. !lt; !thetasym; !eacute;
The main use for this is to pass HTMLValidator verification of your HTML, which is very picky about !, especially inside URLs.
As a side effect, it also ensures all your comment delimiters balance.
It does not change ! inside comments, though it will c-hange it inside href= and image= urls, or anywhere else e.g. Java Applet parameters, which is correct according to the HTMLValidator. It does _not_ change " to !quot; or e' to !eacute; It just fixes !, the most troublesome character.
To use convert the current directory of html files:
java.exe -jar C:\com\mindprod\amper\amper.jar .
Sorry no wildcards, just . , and ..
DON'T USE WILDCARDS unless you deeply understand how they work. Windows expands them, not amper, and feeds them to amper (or any other program) as a giant list of all the directories and files in the current directory. Amper will thus tend process all the files in your directories, when you just meant to process the files in the current directory.
The -s switch makes all subsequent directories searched recursively to include all their subdirectories.
Easy Button & Menu Maker - Easily create sophisticated buttons and beautiful, responsive, mobile-ready drop-down menus for your website. Over 200 elegant design templates are available, including modern flat and classic... ...