【发布时间】:2011-12-18 01:04:51
【问题描述】:
这应该是生成具有不同文件的网络文档的层次结构,这是因为我很懒我做了这个。
@echo off
echo.
echo This program will generate the base folder for a new website .. .
pause
md folders
echo > folders/default.html "<html> /* More content */ </html>"
echo > folders/style.css " /* All the standards i always use */ "
echo > folders/javascript.js " /* All the standards i always use */ "
echo.
exit
它也有效,但问题是,我无法删除/转义引号,但这会让人歇斯底里。
我尝试了很多不同的东西。使用类型更改回声,我尝试了可以在 www 等上找到的不同转义选项,但引号仍然存在。
【问题讨论】:
标签: html batch-file escaping quotes