Question

Right now I have this

@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

But once it displays the text that is already in the file with the TYPE command, i cant edit that part that it displays, i can only add more.

How can I fix this?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top