home *** CD-ROM | disk | FTP | other *** search
- :This is the DoubleTake Professional file editor batch file for
- :editors which can accept single files on the command line with a
- :designation of the line number to begin editing. Change the name
- :of this file to DTEd2Fil.BAT to invoke this file for editing 2
- :files.
- :
- :You must also copy this file to DTEd1Fil.BAT to invoke this file
- :for editing 1 file. Note the lines below which detect whether
- :one or two files have been passed in to this batch file.
- :
- :following commands when you press [Alt-E] in DoubleTake.
- :The name "ne" following represents an editor which indicates the
- :starting line number by including a plus sign followed by the line
- :number on the command line, followed by the file to edit.
- :Ensure that your editor's name is included below and that the editor
- :is in your DOS PATH.
- :
- :Use any editor you choose (but it must be capable of indicating
- :the line number on the command line). If your editor uses another
- :convention for indicating the line number, change the +%3 and +%4
- :parameters below to correspond to its convention
- :
- if %3. == . goto onefile
- : if 3 is there, so will be 4...
- ne +%3 %1
- ne +%4 %2
- goto done
- :onefile
- ne +%2 %1
- :done
- pause
-