bat

bat将输入内容写入html 和txt文件

@echo off

title writer

cls

color 0b

echo.

echo.

set /p text=Text:

echo.

set /p fn=File Name:

echo.

echo                  (".txt"=Text File/".html"=HTML File) 

set /p ext=Extention:

echo %text% >>%fn%%ext%

exit

-----------------------------------------------------------------------------

 

-----------------------------------------------------------------------------

 

-----------------------------------------------------------------------------

 

-----------------------------------------------------------------------------

 

-----------------------------------------------------------------------------

 

-----------------------------------------------------------------------------

 

-----------------------------------------------------------------------------

 

-----------------------------------------------------------------------------

 

你可能感兴趣的:(bat)