Edit batch file while in a cmd window

July 9, 2009 at 17:30:39
Specs: Windows Vista
Is there a way to edit a text file while in a cmd window?

It appears that edit is no longer available in Vista.

Thanks.


See More: Edit batch file while in a cmd window

Report •


#1
July 9, 2009 at 18:30:05
You could use notepad. Not my fav.


=====================================
If at first you don't succeed, you're about average.

M2


Report •

#2
July 9, 2009 at 18:45:34
Thanks.

I occasionally find it faster to run and edit batch files from a cmd window.


Report •

#3
July 9, 2009 at 19:00:29
I edit almost all files from a cmd prompt. It's not a matter of having 'edit' or not having it.

FWIW, I've been using VDE as my editor for about 20 years.


=====================================
If at first you don't succeed, you're about average.

M2


Report •

Related Solutions

#4
July 9, 2009 at 22:17:47
If they have removed edit.com, your only viable option would be to get a third party console text editor.

It would be possible to put a simple line editor (something along the lines of edlin) with batch script, but would take a lot of effort and is probably not worth it.

That is unless I have overlooked something...

If you are using a 64bit edition of vista it makes perfect sense as to why edit.com was removed, it's a 16bit executable, support for those was dropped on 64bit editions of windows.


Report •

#5
July 9, 2009 at 23:26:08
Hi Judago,

Do you mean a 16bit app won't run on 64bit win?


=====================================
If at first you don't succeed, you're about average.

M2


Report •

#6
July 10, 2009 at 03:45:01
Such is my understanding....

http://support.microsoft.com/kb/282423

Although amd64 apparently has facilities to run 16bit code......


Report •

#7
July 10, 2009 at 04:36:38
It's a shame as I have a lot of 16 bit programs that I wrote using assembly.

Most of my 32-bit assembly programs still work fine.

I am using Vista while at my daughter's house, I have XP Pro at my house.

Take care.


Report •


Ask Question