T
Tuong Vi
Please help me.
I want to run command "edlin.exe" to edit a text file and
I want to do this by a batch file. I wrote it as follows:
@echo off
edlin <path>\*.*
5 \* I want to edit 5th line.
echo .......... \* My new line
e \* End
q \* Quit
But screen only appears:
"End of input file
*"
then stop, not continuing with sequent subcommands, so I
can't finish my work. I use WinXP SP1 Pro. How must I do
edit a file by using command? Thank you very much.
I want to run command "edlin.exe" to edit a text file and
I want to do this by a batch file. I wrote it as follows:
@echo off
edlin <path>\*.*
5 \* I want to edit 5th line.
echo .......... \* My new line
e \* End
q \* Quit
But screen only appears:
"End of input file
*"
then stop, not continuing with sequent subcommands, so I
can't finish my work. I use WinXP SP1 Pro. How must I do
edit a file by using command? Thank you very much.