How do I exit Edlin

  • Thread starter Thread starter Rick K
  • Start date Start date
R

Rick K

I'm using Edli for the first time in many years. at C:\>
I entered "edlin boot.ini".

Dos returned "endo of input file", with an asterisk on the
next line.

I entered "dir/w" to see if boot.ini was in the
directory. Edlin came back with line 1:*

I'm many lines later and I don't know how to get back to
the command prompt to enter the Edlin "q" command.

Thanks in advance.

System: Dell notebook with Windows 2000.
 
Paul R. Sadowski said:
http://www.computerhope.com/edlin.htm

Q Quits Edlin without saving changes.
E Quits Edlin after saving changes.

You didn't read his post very carefully. He knew about the 'q' command, but
not how to get back to the EDLIN prompt to use it.

That's normal. At this point, you aren't in DOS anymore. You're in EDLIN.
BTW, at the "*" prompt, you can type ? to get a help summary.

Well, since you now know that you were in EDLIN, you can see how it didn't
understand this DOS command. EDLIN tries to parse the command though. It
sees the "d" and as a result deletes the last line in your boot.ini. Then
it sees the "i" and throws you into insert mode (the 1:* you saw). You can
press ^C or ^Z to stop inserting lines. Then EDLIN will see the r/w and
think it's a replace command.
 
Rick K said:
I'm using Edli for the first time in many years. at C:\>
I entered "edlin boot.ini".

Dos returned "endo of input file", with an asterisk on the
next line.

I entered "dir/w" to see if boot.ini was in the
directory. Edlin came back with line 1:*

I'm many lines later and I don't know how to get back to
the command prompt to enter the Edlin "q" command.

Thanks in advance.

System: Dell notebook with Windows 2000.

Since edlin /? isn't of great help type in a cmd window
hh ntcmds.chm::/edlin.htm or
hh ntcmds.chm::/edlin_subcmds.htm

To see the Gui Help
 
Thanks guys. ^c did the job.


-----Original Message-----



You didn't read his post very carefully. He knew about the 'q' command, but
not how to get back to the EDLIN prompt to use it.


That's normal. At this point, you aren't in DOS anymore. You're in EDLIN.
BTW, at the "*" prompt, you can type ? to get a help summary.

Well, since you now know that you were in EDLIN, you can see how it didn't
understand this DOS command. EDLIN tries to parse the command though. It
sees the "d" and as a result deletes the last line in your boot.ini. Then
it sees the "i" and throws you into insert mode (the 1:* you saw). You can
press ^C or ^Z to stop inserting lines. Then EDLIN will see the r/w and
think it's a replace command.


.
 
Back
Top