Edit still available

  • Thread starter Thread starter WhiteTea
  • Start date Start date
W

WhiteTea

Is edit still available on a cmd window in Vista?
I would like to be able to edit batch files with in a cmd window.

Thanks.
 
Is edit still available on a cmd window in Vista?
I would like to be able to edit batch files with in a cmd window.

Thanks.


Yes - you can check that yourself by opening a cmd window and
entering:-

edit /?
 
Yes - you can check that yourself by opening a cmd window and
entering:-

edit /?

Will he get the same thing I did? Namely:

'edit' is not recognized as an internal or external command,
operable program or batch file.
 
Maybe you have 64 bit windows?

--
..
--
Gene E. Bloch said:
Will he get the same thing I did? Namely:

'edit' is not recognized as an internal or external command,
operable program or batch file.
 
There was once a web site, now gone, that showed how to use edlin as a
newsreader.

That must have been a lot of fun!

I must confess that edlin wasn't the worst editor I ever used. The worst
was on an HP 2100MX (I'm a bit unsure of the number) - it was a
mini-computer, back when there were such things - probably 1980 or so. I
forget what they called the editor (although I had some ideas for a more
accurate name).

One thing I remember: if you had scrolled down to, say, line 173, you
couldn't go to line 172 or any line < 173 without writing the whole buffer
and starting over from line 1. And that was one of the *good* features.
 
Will he get the same thing I did? Namely:

'edit' is not recognized as an internal or external command,
operable program or batch file.

What version of Vista are you using? It is definitely on my Vista Home
Premium SP2.

Location C:\Windows\system32\edit.com
 
Maybe you have 64 bit windows?

Maybe I do.

So I take it there is no 32 or 64 bit version provided for victims like me?

Thanks for the pointer - and please note that my remark about victims is
just for fun :-)
 
Gene E. Bloch said:
Maybe I do.

So I take it there is no 32 or 64 bit version provided for victims like me?

The "edit" command invokes edit.com. The *.com suffix means that it's
a 16-bit real-mode program (and that it uses the tiny memory model, if
you remember that far back in x86 programming practice). 16-bit
programs don't run in MS's 64-bit operating systems, so you won't find
it in 64-bit Vista.
 
Maybe I do.

So I take it there is no 32 or 64 bit version provided for victims like me?

Thanks for the pointer - and please note that my remark about victims is
just for fun :-)

I am trying to find a freeware editor that works in a cmd window.
UltaEdit is an editor but isn't freeware.

If I can't find one, I may write a program in assembly.

Andy
 
Gene E. Bloch said:
That must have been a lot of fun!

I must confess that edlin wasn't the worst editor I ever used. The
worst
was on an HP 2100MX (I'm a bit unsure of the number) - it was a
mini-computer, back when there were such things - probably 1980 or
so. I
forget what they called the editor (although I had some ideas for a
more
accurate name).

One thing I remember: if you had scrolled down to, say, line 173,
you
couldn't go to line 172 or any line < 173 without writing the whole
buffer
and starting over from line 1. And that was one of the *good*
features.

Twenty-five years ago I posted a comment in some forum to the effect
that if you're still using and liking edlin, you probably also enjoy
dentistry without anesthesia, mow your grass with a reel-action push
mower, and light your cigarettes by rubbing two sticks together.

They and edlin all would get the job done, but indeed, why would you
do it that way? Even then, the relatively simple DOS-based word
processors we had made writing and editing text files far, far easier.

Can someone explain the OP's desire to edit batch (text) files in a
cmd window? Why not just load it into Notepad, or Notepad++ if you're
doing coding?
 
Twenty-five years ago I posted a comment in some forum to the effect
that if you're still using and liking edlin, you probably also enjoy
dentistry without anesthesia, mow your grass with a reel-action push
mower, and light your cigarettes by rubbing two sticks together.

They and edlin all would get the job done, but indeed, why would you
do it that way?  Even then, the relatively simple DOS-based word
processors we had made writing and editing text files far, far easier.

Can someone explain the OP's desire to edit batch (text) files in a
cmd window?  Why not just load it into Notepad, or Notepad++ if you're
doing coding?

"Different strokes for different folks."

I don't do coding in a cmd window.

I can often do things far faster in a command line than through a
windows GUI.

Andy

“What we see depends mainly on what we look for,” said British
statesman John Lubbock (1834–1913).
A good attitude and the right focus help us to handle life joyfully,
even though it doesn’t change our circumstances.
 
Back
Top