Last active
August 29, 2015 14:06
-
-
Save purazumakoi/1e63e3bcf6a60ebcb074 to your computer and use it in GitHub Desktop.
実行すると、index.htmlのひな形をwindowsのデスクトップにつくるバッチ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem 初期定義 ------------------- | |
set place=%USERPROFILE%\Desktop\index.html | |
rem ファイルに書き出し --------- | |
echo ^<^!DOCTYPE HTML^> >> %place% | |
echo ^<head^> >> %place% | |
echo ^<html lang="ja"^> >> %place% | |
echo ^<head^> >> %place% | |
echo ^<meta charset="UTF-8"^> >> %place% | |
echo ^<title^>sample^</title^> >> %place% | |
echo ^</head^> >> %place% | |
echo ^<body^> >> %place% | |
echo sample >> %place% | |
echo ^</body^> >> %place% | |
echo ^</html^> >> %place% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment