En esta página, http://www.robvanderwoude.com/escapechars.php se muestran los Caracteres de Escape utilizados en DOS para la plataforma de Procesos por Lotes (Batch). Para poder generar código HTML en un documento .BAT se necesitan estos códigos de escape. Dejo la tabla de ese link aquí: Escape Characters Character to be escaped Escape Sequence Remark % %% May not always be required in doublequoted strings, just try ^ ^^ May not always be required in doublequoted strings, but it won't hurt & ^& < ^< > ^> | ^| ' ^' Required only in the FOR /F "subject" (i.e. between the parenthesis), unless backq is used ` ^` Required only in the FOR /F "subject" (i.e. between the parenthesis), if backq is used , ^, Required only in the FOR /F "subject" (i.e. between the parenthesis), even in doublequoted strings ; ^; = ^= ( ^( ) ^) ! ^^! Required only when delayed variable expansion is active ...