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
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.
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
Response Number 6
Name: Judago Date: July 10, 2009 at 03:45:01 Pacific
Summary: I am looking for a way to be able to execute series of command from a batch in a new window (without a need for a second batch file), for example execute these: echo hello echo goodbye The first prob...
Summary: I need a batch file that will grab the specific numbers from a text file and put them into a variable. The numbers are frames from an AviSynth script. My avisynth script looks something like this: Av...
Summary: I am trying to create a batch file to kill a process only if it is running. I found a pskill tool from windows xp tool site but when I put it in the batch file and scheduled the task, a black window ...