Skip to main content

Questions tagged [batch]

Batch processing is the execution of a set of commands or software programs without user intervention. A batch file is a text file containing a sequence of such commands or programs invocations. Please use the tag [batch-file] for that.

1 vote
0 answers
76 views

Merge specific files with MergeMKV

I've been using MKVToolNix GUI for a while and lately I've been utilizing its scripting functionality. I have some TV show files that I ripped and it's one of those shows where they contain 2 sub-...
midnightfm's user avatar
0 votes
1 answer
73 views

Complex escape coding in a batch for-loop

Reference is made to https://superuser.com/a/1508668/1884857 In my code I have added Vomit IT's code into a for loop. However, the code stops at the line: ECHO [int]$Calculation.split("%MathType%&...
Fjorstut's user avatar
1 vote
2 answers
2k views

How to convert Samsung's motion photos to still photos?

I've taken a bunch of photos on my Samsung Galaxy phone after inadvertently activating the "motion photo" mode, which captures a short video clip before and after the "click", ...
Xavier Poinas's user avatar
0 votes
0 answers
59 views

Batch file output redirection to a text file; not complete

Examples: Parent-Dir= 'USA zip-code', Sub-dir(s)= 'yyyymmdd' Example filename= 139_7_IPC1_NVR16-8580_20230101104640.jpg There are six-hundred and ninety-nine files in the directory-tree that the, ...
query-01's user avatar
0 votes
1 answer
220 views

How to Batch Apply Multiple Commands? FFmpeg

I have three commands that I've got to work individually for a set of videos, but cannot get them to apply together. I need to apply all three of these things to every video. 1) add audio, 2) speed up ...
Retsied's user avatar
0 votes
0 answers
72 views

Batch Enable "Hide HDR Notifications on this device"

I am trying to programmatically hide hdr notifications that recently got added to the xbox game bar in the last year or two. I tried enabling and disabling it through the ui and looking under these ...
OW2 Is Trash's user avatar
0 votes
0 answers
27 views

Robocopy /MOVE, directory\tree not recreated, Win-11\Home

The line below previously worked with Win-10\Home; dir\tree remained intact. robocopy D:\ A:\Bak_Up /E /ZB /dcopy:dat /LOG:A:\Bak_Up.log /TEE By comparison, using Win-11\Home from the below .bat, ...
query-01's user avatar
2 votes
1 answer
99 views

Using ffmpeg inside batch for-loop disables use of ANSI Escape colors

I am trying to use ESC codes to add coloring of text in a script to do batch processing of video files in a filelist. In below code line 29, the ffmpeg code, is causing the later coloring to cancel. ...
Fjorstut's user avatar
0 votes
0 answers
159 views

How to minimize a running bat without using another one for that action

I am using a Window Manager program that won't run at logon even though the "start when Windows starts" box is checked. I put it in the startup folder and it starts when I logon but the ...
Jim's user avatar
  • 11
1 vote
1 answer
592 views

Writing a batch script to copy files based on date

I have a folder on a local PC that updates files through Dropbox. I have created a batch script that runs through a scheduler each day. So far it checks to see if a folder is empty (C:\TheGlenFTP\...
ChrisH's user avatar
  • 11
-1 votes
1 answer
58 views

What is causing the xcopy file from having an error in it?

I am new to xcopy. I am trying to move a file that is in excel format to a new destination and as a csv file. I have to do this so that the DMExpress ETL job can move the file and then read it. This ...
Sevanna's user avatar
1 vote
1 answer
218 views

Running batch commands in AutoHotKey

I am on AutoHotKey and I'd have to run an application via batch command. The command is quite articulated, it has the form of: " -path of the application- " " -path of a text file-"...
Matija Succi's user avatar
1 vote
2 answers
376 views

How can I put 2 different texts of 1 color each in a BAT file?

How can I put 2 different texts of 1 color each? Because when I tried to put, for example // color B to a text and then I put color A to another text, I took color A, which was the code below and the ...
Ron's user avatar
  • 19
0 votes
1 answer
1k views

How to get ASCII art text to be displayed when I opened my .bat file?

I wanted this ASCII art text to be displayed when I opened my .bat file, but the only thing that happens is that when I open the .bat file it closes instantly and I know that it is a problem with how ...
Ron's user avatar
  • 19
2 votes
1 answer
230 views

How to sort lines in files by custom order?

How can we sort content within a large number of files based on the first word encountered on a line before a separator? In a custom sort order. I will explain this with examples. Say I have hundreds ...
kerstoff0mega's user avatar

15 30 50 per page
1
3 4
5
6 7
267