@echo off
:start
cls
Title Like or unlike
:1
echo.
set/p _file=output file name:
echo.
echo select the type
echo (1)like. (2)unlike
echo.
set/p _num=enter your option:
if %_num%==1 goto Like
if %_num%==2 goto Unlike
:Like
echo.
COPY the below lines to "%_file%"
The land is beautiful
I wanna stay here
etc........
etc........
exit
:unlike
echo.
COPY the below lines to "%_file%"
The land is ugly
I hate this land
exit
我想创建 .bat 文件,它将所选行从 .bat 文件(在 .bat 文件中)复制到另一个文本文件