小编MeN*_*oob的帖子

使用批处理生成html ..转义引号

这应该生成具有不同文件的Web文档的层次结构,这是因为我很懒,我做了这个.

@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
Run Code Online (Sandbox Code Playgroud)

它也有效,但问题是,我不能删除/逃避引号,但这给了歇斯底里的时刻.

我尝试了很多不同的东西.用类型改变回声,我尝试了我可以在www等上找到的不同的转义选项,但引号仍然存在.

html quotes escaping batch-file

2
推荐指数
1
解决办法
5936
查看次数

标签 统计

batch-file ×1

escaping ×1

html ×1

quotes ×1