Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- title Batch Notepad
- color 0a
- set num=%random%
- mode 110,38
- REM simple method for creating text files in batch by xzlui
- :write
- set /p line=$
- if "%line:~0,1%" == "{" set Counter=1
- if "%line%" == "/done" set line=END && exit
- echo %line%>>%cd%\doc_%num%.txt
- ::in "set line=-" replace "-" with "::" and you can code batch files
- set line=-
- goto write
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement