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.
4,053 questions
1
vote
0
answers
35
views
Writing a batch file that searches to find a specific partition ad sets it to a variable [closed]
Writing a batch file that that is named Search.bat which searches to find a specific partition letter and sets it the %drv% so it can be used in:
The S: drive is created in Winpe through Winpeshl.ini ...
0
votes
2
answers
59
views
How to batch apply a PowerPoint template to presentations
For consistency with corporate identity, one regularly needs to update the master slides of a PowerPoint presentation. However, when having quite some presentations, how to apply this to a batch of ...
-1
votes
3
answers
194
views
Batch FOR loop: alphabetical file order?
I'm sure there's probably a super-easy way to do this in Powershell or something else, but I'm stubborn. Batch is what I (mostly) know, so that's what I'm using, although I'm not adverse to using ...
1
vote
3
answers
277
views
How can I setup a Batch file to recurse 2 levels of a directory and run a command?
I'm trying to write a Batch file that will recurse 1 level and for all the directories in that level, go in to each of them and run commands.
For example. In every directory in my current directory, I ...
1
vote
1
answer
401
views
How to use a command for ffmpeg that works with pictures of all names and types?
I have a number of audio files that I'd like to use to convert to video. All videos are static--using only one picture. Some audio files need one picture and some another. The pictures have different ...
7
votes
2
answers
646
views
How to prevent a batch file call from escaping a caret character?
I am trying to call a batch file from another batch file and pass an argument containing a caret ^. Here's a minimal example:
@REM @echo off
call composer require "psr/log:^3.0"
However, ...
1
vote
0
answers
61
views
FFmpeg batch processing - Is it possible to read properties from each input file, and then use those values as parameters on a per-file basis?
My specific case is that I want to batch render video files targetting a specific filesize, without having to manually input a bitrate for each file. I want FFmpeg to read the video duration from the ...
0
votes
1
answer
58
views
How can I lexicographically sort several files at once with Notepad++?
One can lexicographically sort a file with Notepad++:
How can I lexicographically sort several files at once with Notepad++?
0
votes
1
answer
168
views
dir /s /ad /d /b fail to return to command prompt
dir /s /ad /d /b relative or absolute non existent folder
fails to return to command prompt but the command works if the folder actually exist.
I don't have knowledge of how to debug the issue but ...
0
votes
2
answers
144
views
Reproduce a target from a windows-link in a batch-file
This is on Windows 10.
Intel has a windows-link. In the properties, the target is :
C:\Windows\System32\cmd.exe /E:ON /K ""C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64 ...
1
vote
1
answer
139
views
How to have a batch file startup with Windows and continue to run
I've been experimenting with creating a render farm for Blender using old computers that I have lying around and have successfully used Flamenco to create it using one extra system, however, to have ...
4
votes
2
answers
247
views
How to make batch files run command options?
I have more than 10 thousand .farc files I need to unzip through a command-line tool. It looks like:
tool extract "file.farc" "out-dir"
I'm guessing the bat should look somewhere ...
3
votes
1
answer
624
views
Why does HandBrake fail to detect videos during batch scan (“No valid source or titles found”)?
I’m trying to use HandBrake’s “Batch Scan” feature to add multiple video folders at once, but it consistently returns “No valid source or titles found.” I’ve verified:
Files are in supported formats (...
2
votes
1
answer
92
views
How to right click symlink selected folder to predetermined folder in Windows?
I was using Rebex Tiny SFTP Server for some simple file transfer but that program locks its data folder inside the exe folder as its shared root. Using symlink, I can manipulate the real folder I'm ...
2
votes
0
answers
199
views
The full functionality of START /W "" path\exe in Windows 95?
I'll try to articulate this as best I can.
I've setup PCEM (a Windows VM) with a batch that runs at launch in Windows 95. It checks the contents of the CD that's loaded and then runs a program based ...