Questions tagged [Batch processing] (45)

4
answers

Method batch image cropping?

Hello. There are several thousand images of different resolution. But in every picture, at the bottom there is a rectangle of height to 14px, and the longest equal to length of the image (the Yellow rectangle with the name of the website) Simply speaking required - all images cut 14px from the bottom of the image Of cour...
candido.Keeling65 asked April 7th 20 at 16:04
1
answer

How to write a bat to search for and select the specific lines and outputs the result?

Hello. There is a problem. I have many small XML files (about 800) of them and I need to copy one line, in all files it starts and ends the same, will differ only in the numbers inside (...). Need the bat or script which will scan all files and will copy that line into one document .
Alec.Stoltenberg asked April 7th 20 at 11:17
1
answer

How to copy files with a certain extension?

Hi all. There was a need of the 157 folders to pull pictures and put them into one. All in jpg format. The easiest way is either command line or bat file. He can not understand, but found two teams, one COPY, which copies to the current directory, the second XCOPY, which makes preserving the directories. Please tell me ho...
georgette.Koelpin asked April 2nd 20 at 17:37
0
answer

How to copy the string before and after certain words?

There is a text file list_all.txt with approximately the following content:List the chemical. products: Cream Shampoo Soap Hairspray Cream .... many more lines .... List prod. products: .... .... You need to copy all the lines after "List of chemical. products:" before "List cont. products:" to the file list_him.txt withou...
Henry.Cruicksha asked March 31st 20 at 20:46
1
answer

As a batch to cut first 10 sec of using ffmpeg?

Good day! there is a folder with a lot of video c:/ffmpeg/videos/ you must have all video cut off the first 10 seconds, without transcoding, preserving quality and with the same file names. The end result is to keep c:/ffmpeg/videos2/ Thank you so much!
quincy_Kertzma asked March 31st 20 at 15:36
2
answers

Why BAT script works correctly only after the second run?

Hello! I wrote a simple script that in a loop must run the appropriate exe file with the parameter, with a pause between each launch.@echo off USING THE SETLOCAL ENABLEDELAYEDEXPANSION SET PROGRAM_PATH=D:\Program Files (x86)\Notepad++\notepad++.exe SET LAUNCH_TIMEOUT=3 set mList=1.txt 2.txt 3.txt (for %%m in (%mList%) do ...
Alejandra.Kuvalis asked March 27th 20 at 13:01
0
answer

How to form a query in a. bat script?

Good day! You need to get the name of the first file and pass in a variable when sorting by the third character of the file name. There is a working version of the team that gives the correct conclusion:DIR /b /o "%folder%\%FiLE_MASK%" | SORT /+3 /R The FOR loop works only like this:for /f %%i in ('DIR /b /o "%folder%\%FiLE...
Abraham11 asked March 27th 20 at 12:26
1
answer

How to run command in subdirectories using the. bat file?

There is a bat file that needs to go through all the folders (folder names are always different), which lie in the same directory with it, and in each folder to invoke the command "html-to-text < index.html | html-to-text > index.txt".
rae93 asked March 27th 20 at 12:15
2
answers

Batch replace files in different folders?

Hi all. How without programming skills to replace 47,000 files from one folder. 200 different folders. I found as total, display CTRL+B all the files in the folders. But if you replace, it throws all the files within each... Is to compare if the name is found, replace etc.
Herta44 asked March 27th 20 at 12:09
1
answer

Rename files according to the match table?

There is an array of files for which there is a table with columns for "old name" "new name" for each unique and the match must be exact. Please tell me how to automate the renaming by using the conditional Total Commander? I found an old issue that mentions the ability to download in Total Commander names from a file, but ...
Cooper.Casper asked March 23rd 20 at 19:40