Войти

Показать полную графическую версию : Перемещение или копирование строк


vickt
26-11-2015, 15:03
Всем привет! Помогите пожалуйста написать .BAT файл.
Есть файлы 1.txt и 2.txt в папке Translator.

Содержание файла 1.txt:
Allow TeX language entry from the keyboard
Allow Undo after save
Allow unique consolidation if it reduces the number of columns by at least:
Allow user to change the application folder
Bar accent with caret
Bar accent with closed circle left
Bar accent with closed circle right
Bar accent with double over dot
Cannot change the size of a JPEG image
Cannot change the size of a WIC Image
Cannot change the size of an icon
Contents
Cannot change Visible in OnShow or OnHide
И т.д.

Содержание файла 2.txt:
Allow Undo after save
Allow unique consolidation if it reduces the number of columns by at least:
Bar accent with caret
Bar accent with closed circle right
Contents
Cannot change Visible in OnShow or OnHide
И т.д.

В файле 2.txt строки которые нужно переместить или скопировать (после копирования удалить) из 1.txt в папку Translator\ Translator1 в файлы (file1.txt, file2.txt и т.д.)

Например:
Все строки (Allow Undo after save) – записывало в файл file1.txt
Все строки (Bar accent with caret) – записывало в файл file2.txt
И т.д.




© OSzone.net 2001-2012