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,050 questions
4
votes
1
answer
225
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.bat require "psr/log:^3.0"
However,...
1
vote
0
answers
40
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
40
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
96
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
117
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
108
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
211
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
319
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
80
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
124
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 ...
-1
votes
1
answer
70
views
Can't create a Batch file that creates nested folders based on a filename [closed]
I need to create a batch file that will create all the nested folders necessary to move the files. I'd want to have a file named something like folder1-folder2-folder3-file.txt and have a nested ...
2
votes
1
answer
265
views
Assign Command Output to Variable in Batch
Not to be confused with questions like this, I need to assign what the command outputs and not the actual command its self which is what I am currently getting from the aforementioned question. I am ...
3
votes
3
answers
138
views
How to delete folders within subfolder on Windows that fits a specific pattern?
I'm trying to make a simple batch file that can quickly cleanup my plugins folder for UE5 for a clean rebuild.
I have a lot of plugins and would like to not worry about adding them to my current batch ...
0
votes
0
answers
68
views
How to set the cmd batch to not interrupt its functions when the Command Prompt window looses focus?
.bat|.cmd loosestimeout function when Command Prompt window loosing focus.
I'm using multiple screens screen saver for all screens together.
I'm starting a second screen saver, only for 1st screen, ...
0
votes
0
answers
49
views
batch restore of .url sharepoint archived files
After a few years my files in sharepoint change to .url, accessible by clicking the .url and clicking 'Export' or 'Restore' in a web page. Is there a reliable (official or open source) utility to ...