echo ^index.html
echo "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"^> >>index.html
echo ^ >>index.html
echo ^ >>index.html
echo ^
>>index.htmlecho ^
contents^ >>index.htmlecho ^ >>index.html
echo ^
echo ^^ >>index.html
echo ^
^
>>index.html
>>index.html
for /f "tokens=1,2 usebackq delims=." %%a in (`dir /o:n /b`) do (
if not "%%a.%%b"=="%%a." (
if not "%%a.%%b"=="index.html" (
if not "%%b"=="bat" (
echo ^
^ %%a.%%b^^ >>index.html)
)
)
)
for /f "tokens=1,2 usebackq delims=." %%a in (`dir /o:n /b`) do (
if "%%a.%%b"=="%%a." (
if not "%%a"=="backup" (
echo ^
%%a^
>>index.htmlfor /f "tokens=1,2 usebackq delims=." %%f in (`dir %%a /o:n /b`) do (
if "%%g"=="html" (
if not "%%f.%%g"=="%%f." (
echo ^
^ %%f^^ >>index.html))
)
))
)
echo ^
echo ^ >>index.html
echo ^ >>index.html