Computing.Net > Forums > Programming > Edit batch file while in a cmd window

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Edit batch file while in a cmd window

Reply to Message Icon

Name: Raleigh
Date: July 9, 2009 at 17:30:39 Pacific
OS: Windows Vista
Subcategory: Batch
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: July 9, 2009 at 18:30:05 Pacific
Reply:

You could use notepad. Not my fav.


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

M2


0

Response Number 2
Name: Raleigh
Date: July 9, 2009 at 18:45:34 Pacific
Reply:

Thanks.

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


0

Response Number 3
Name: Mechanix2Go
Date: July 9, 2009 at 19:00:29 Pacific
Reply:

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


0

Response Number 4
Name: Judago
Date: July 9, 2009 at 22:17:47 Pacific
Reply:

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.


0

Response Number 5
Name: Mechanix2Go
Date: July 9, 2009 at 23:26:08 Pacific
Reply:

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


0

Related Posts

See More



Response Number 6
Name: Judago
Date: July 10, 2009 at 03:45:01 Pacific
Reply:

Such is my understanding....

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

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


0

Response Number 7
Name: Raleigh
Date: July 10, 2009 at 04:36:38 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Rename multiple iles in f... close one batch file, ope...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Edit batch file while in a cmd window

Batch File - Start in a new window www.computing.net/answers/programming/batch-file-start-in-a-new-window/13899.html

Batch File: Integers in a Txt File Variable www.computing.net/answers/programming/batch-file-integers-in-a-txt-file-variable/19900.html

A batch file to kill a process www.computing.net/answers/programming/a-batch-file-to-kill-a-process/12884.html