现在我有了这个
@ECHO off
COLOR 1f
SET /p name=What is the name of the file you want to open/name:
CLS
SET /p type=What type of file do you want to open/make (txt, vbs, etc.):
CLS
IF EXIST %name%.%type% ( TYPE %name%.%type% )
:begin
SET /p code=
ECHO %code% >> %name%.%type%
GOTO begin
CLS
但是一旦用TYPE命令显示已存在于文件中的文本,我就无法编辑它显示的部分,我只能添加更多。
我该如何解决这个问题?