Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Скриптовые языки администрирования Windows (http://forum.oszone.net/forumdisplay.php?f=102)
-   -   Перемещение или копирование строк (http://forum.oszone.net/showthread.php?t=308457)

vickt 26-11-2015 15:03 2579049

Перемещение или копирование строк
 
Всем привет! Помогите пожалуйста написать .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
И т.д.



Время: 17:25.

Время: 17:25.
© OSzone.net 2001-