点击*。BAT后,就生成一个文本文件,文件内容为:
<html>
<head><titile></title></head>
<body><script></script></body>
</html>
<html>
<head><titile></title></head>
<body><script></script></body>
</html>
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
@echo off
set file=temp.txt
cd.>%file%
echo ^<html^>>>%file%
echo ^<head^>^<titile^>^</title^>^</head^>>>%file%
echo ^<body^>^<script^>^</script^>^</body^>>>%file%
echo ^</html^>>>%file%
@echo off
set file=temp.txt
cd.>%file%
echo ^<html^>^
^<head^>^<titile^>^</title^>^</head^>^
^<body^>^<script^>^</script^>^</body^>^
^</html^>>>%file%
Originally posted by yiyuncao007 at 2008-1-27 09:28 PM:
我以前看过各种命令的使用方法,看的并不是很明白,仔细去看一下SET