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.

learn more… | top users | synonyms

0
votes
1answer
401 views

How to batch multiplex audio and video track files with ffmpeg

I think that everybody knows that problem about downloading 480p & 1080p videos from Youtube, and that the only way available for many Download programs is to download the Video and Audio Tracks ...
0
votes
1answer
42 views

Kill all internet explorer's belonging to the current user

What's the proper way to shut down all of the instances of internet explorer for the current user using batch commands? I have this. There can be multiple users logged into the same computer. What am ...
0
votes
0answers
335 views

CMD/ADB - Autorun script to search, copy, and paste a file from android system to flash drive

I've looked around and can't find anything that answers my question. This is my first question, so any tips or thoughts are welcome, as well as an answer :p As explained in title, i want to create a ...
1
vote
2answers
3k views

Add registry key entries using batch file [duplicate]

How to add the below keys using pure batch file? [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Server] "DisplayName"="Server" "DisplayVersion"="1.2" ...
0
votes
0answers
65 views

How to make Batch file to give a message when exiting?

Code: @echo off start /wait /b echo hi > message.txt pause exit When you click the batch and type exit, you the message saved. My problem is, if you exit by click " X " button, then no message ...
-2
votes
1answer
81 views

Batch file to check the size and print the outout

I am trying to make a batch file that will check the size of f1.txt file. If the size is 1118, then "No Changes" will be displayed. If not, it will display "The file has been changed." @ECHO OFF set ...
1
vote
1answer
45 views

Resize/crop multiple files while preserving certain areas?

I have 176 JPEG images that are 450x800 in size, and was wondering if there was a way to essentially resize them, but while preserving their content in certain areas (currently I'm only hoping for the ...
1
vote
1answer
38 views

How do I convert a batch of audio files on Windows?

I have a folder structure like this: -dir1 -subdir1 -subdir2 -file1.wav -file2.wav -dir2 -etc... Inside the folders are thousands of audio files that need to be ...
0
votes
0answers
52 views

Photoshop batch generating all variants from 4 basic modules

I have 4 different modules: Hat, gloves, t-shirt and coat. I have different variants in hats (black, white, and blue), different variants in gloves etc. Each variant has a picture (transparent png, ...
3
votes
1answer
428 views

Creating a batch OR .bat file to linearize and merge PDFs using QPDF.exe

I am trying to create a batch OR .bat file that will linearize MULTIPLE PDF files. I already have a script I commandeered that uses PDFTK that sends PDFs to the 'sendto' folder where they are ...
1
vote
1answer
241 views

Remote Registry with alternate credentials from the command line

Sometimes, when I'm teleworking from my personal laptop, I run into problems with my SmartCard reader while trying to connect to systems that are configured to enforce SmartCard usage. The usual ...
0
votes
1answer
101 views

Window Batch file - Current folder name gets truncated

On my Win7 x64 box, when I run this command to find the current folder name for %* in (.) do echo %~n* it works for folders with alpha characters. However, for folder names that contain numeric ...
0
votes
1answer
977 views

Running Windows Batch File without Popup [duplicate]

I am trying to run a bat file on startup (running Windows 8.1) that will change the permission of the temp folder and then run dropbox. The bat file executes properly on startup and does what I want ...
1
vote
0answers
48 views

Large job Print automation

I regularly need to print documents off to send to a list of people. Each person n needs: The nth page from a Word Document All pages of an Excel Document (same document for every person) All ...
0
votes
1answer
828 views

Changing Gateway and DNS addresses with batch file

I'm having a little crisis every time I have to change the gateway in order to access different sites from my workplace. It's time consuming and I'd be really glad if someone provides me with a script ...
0
votes
0answers
120 views

Domain batch script won't map network drives

I have a user who's workstation has started refusing to map the network drives. We are on a Server 2k3 domain and use batch files to map network drives. The user's workstation is Windows 7 Pro. ...
2
votes
1answer
40 views

How can I add a character to folder names using batch

I've got a series of folders on a Windows server which are a numerical sequence 92001, 92002, etc. and I need to add a '0'at the start of all these folders. Rather than do this tedious task manually ...
0
votes
1answer
260 views

How to generate automatically ODT documents from libreoffice using variables

I have an ODT certificate template which I need to customize with a few elements (name, surname, date, etc.) before printing it. So I would be able to fill it with the data provided in an external ...
1
vote
6answers
1k views

Reduce jpeg size/quality for many files [duplicate]

I'm curious is there any faster way to reduce the size of jpeg files. My jpeg files are about 6MB per file. I open each file in a simple Paint program and press Ctrl+S to resave the image. File ...
1
vote
1answer
56 views

How can I recursively identify non-searchable PDFs and copy them to a folder?

Further to an earlier post which provided a script solution: From my question it may be possible to tell that I am a computer user and have no programming knowledge. I have hundreds of searchable ...
0
votes
1answer
531 views

Batch File to xcopy multiple files from web server to share drive

I am trying to copy a group of files from a folder on my SharePoint site to a network share folder for manipulation "off-line". I am new to xcopy and batch files so trying to teach myself with ...
0
votes
0answers
105 views

How To Properly Get The Drive Letter of a Mounted VHD in batch script

How To Properly Get The Drive Letter of a Mounted VHD in script. Is it possible? list volume select volume <volume_number_of_attached_VHD> assign letter=v exit in this part of script it's ...
1
vote
1answer
389 views

Change registry permission of 3 keys does not work with regini

I'm preparing a batch script that should help me to remove 3 keys from the registry. Unfortunately nobody has permission to edit the keys, except for TrustedInstaller. To execute my reg file that ...
-1
votes
1answer
99 views

Combining same name pdf files together from different folders

I have two folders, and both folders have around 20 thousands PDF files. Folder A x.pdf, y.pdf, z.pdf Folder B x.pdf, y.pdf, z.pdf Now I'm in need of a software or a script to combine those ...
0
votes
3answers
769 views

How to display “Please Wait” while GPO startup script is running?

I have a GPO that calls a batch file as a startup script (Computer Configuration -> Policies -> Windows Settings -> Scripts -> Startup) which takes a moment to finish what it's supposed to ...
1
vote
0answers
61 views

Batch window's colors are screwd up by Node.js and related commandline services

I run node.js from a batch file and whenever some command that has colorful output it screws up my batch window's default colors. ^ Here it's debug that does it, but any command that has colored ...
0
votes
1answer
18 views

Check if an user has given as an input 1 or more then 1 in an batch file

I am having an question with an Batch file Is it possible to let an user choose how many files it will enter? For example set /p count=Enter the number of files you are willing to set: IF %count% ...
0
votes
0answers
39 views

command line needed for creating task with eventID

I want to schedule a task through cmd, the task has to run a .bat file when my WiFi connects. I have manually created a task which does this but I want to do this by command line. I tried this ...
0
votes
1answer
78 views

Scheduled task doesn't run when WiFi connects(trigger)

I've created a scheduled task which should enable my hotspot when my wifi connects to a network, only, it doesn't do what it should do. I've tried both basic task and task with: -'Event' as the ...
0
votes
1answer
430 views

Schedule a .bat file to run at a certain time/within a certain amount of minutes

How do you schedule a task to run a batch file at a certain time/within a certain amount of minutes? I'd use at 12:34 C:\example.bat but unfortunately the AT command is deprecated.. I'd like to use it ...
2
votes
1answer
213 views

Turn on WiFi radio through CMD

I'm questioning if it's possible to enable your wifi card/antennae/radio with a CMD command, like "wlan enable" or something? I would like to do this so if someone forgot to turn on his wifi, this ...
0
votes
1answer
76 views

How do I convert avi and mkv to Mp4 while preserving quality using ffmpeg?

How do I convert avi and mkv to Mp4 using ffmpeg? I would like to preserve the quality of the video during conversion as best as possible.
2
votes
2answers
122 views

what is %username% in FTP

I just made a script to upload important files, but there are more then 1 user on my computer and I want it to upload the user that is using the program.. so like in cmd I tried to do something like ...
0
votes
1answer
67 views

how to use Null is Batch script

I working on small program to update the configuration of small program, I'm new to batch script, user need to enter desired input to go to desired program and I have 5 set of programs with in the ...
0
votes
1answer
313 views

BATCH file to Merge multiple text files and preserve names

I have the following text files: apple1.txt apple2.txt apple3.txt water melon10.txt water melon11.txt water melon12.txt I'd like to merge all apples into one txt file - apple_all.txt and all water ...
0
votes
1answer
82 views

Replace video track in MKV with track from different MKV file

I have two MKV files with the same movie and I want to replace video track in the first file with video track from the second file, using commandline (so it can be used again with different pair of ...
0
votes
0answers
56 views

Batch: backup, then delete old backup

I have a batch script that runs hourly. It connects to an FTP server, downloads a backup file, then deletes the oldest backup (backups are kept for 4hours by default). This is supposed to insulate our ...
0
votes
2answers
390 views

Can not schedule a batch file to run at startup [duplicate]

I'm trying to schedule a batch file to run at start up. Here is my command: schtasks /create /tn test /tr c:\simple.bat /sc onstart simple.bat only writes the current time to a file: time /t > ...
1
vote
1answer
448 views

HandbrakeCLI bash batch script not working.

I am trying to batch encode a bunch of files. Looking over the internet I have found just a couple scripts and none of them worked for me. I started to piece together something and it is close to ...
0
votes
1answer
679 views

How to end a task from a batch file which is not a process?

I have a batch file which is launching a script (python one). I'm looking for a windows command which will terminate the script. taskkill is working in processes and there is no unique process here, ...
1
vote
3answers
110 views

Batch file - wait for another commands

To activate some commands from mozilla SDK I have to run batch file called "activate". I don't want to find the proper file each time I want to do something with this SDK, so I created batch file: cd ...
0
votes
0answers
1k views

Batch file change color of specific part of text

How could I change the color of a specific part of text within a .bat file? I currently have this: @echo off :a color 2 set /p command=$jp goto :%command% which produces a green "$jp". The text I ...
1
vote
0answers
51 views

Can I perform different actions in a windows batch file based on the most recent version of a program installed?

Some of our computers run multiple versions of Microsoft Access (97 & 2010) while others run 365. For the pcs running multiple versions, the default is set to 97. I have a batch file that is ...
-2
votes
2answers
72 views

MD5 wasn't changed?

I have 3 rar files (all with the same md5), and I use this code to change Md5: @echo off setlocal enabledelayedexpansion set /A Counter=0 FOR %%1 in (*.rar) do ( set /A Counter= !Counter! ...
0
votes
1answer
182 views

Batch script Issue passing path as paramter with spaces [duplicate]

go.bat @echo off set url=D:\Download\Path with space inside echo "%url%" pause output: C:\Users\Admin\Desktop>go "D:\Download\Path with space inside" Premere un tasto per continuare . . . ...
0
votes
0answers
29 views

exclude directories from ncftpput

I've got a .bat file with this command: ncftpput -R -u username -p password host remote/directory *. Basically, I want to not upload the following directories: libs/Smarty/ public_html/images/ ...
1
vote
1answer
4k views

Batch File, PING, errorlevel and > null what do they do?

This seems like a really easy question (running Windows 7). But I have looked for the answer and couldn't find anything at Microsoft's sites (XP PING & Everything else PING) or from a bunch of ...
4
votes
1answer
92 views

Batch File IF Statement Time Taken

I am trying to write a batch file that takes the time taken of a command and converts it into hours, minutes and seconds. Here's what I've got: @echo off set /a sec=0 set /a min=0 set /a hrs=0 for ...
2
votes
1answer
2k views

Robocopy copy only changed files to new folder

I'd like to create a backup such as the following: C:/backups/20140101/ All files from source folder C:/backups/20140102/ Only files changed since last backup C:/backups/20140103/ Only files ...
2
votes
2answers
115 views

Speed up file search in a network path

I am trying to search in a network path inside a folder of 152.000 documents, list of files to be searched is 1500, after 5 hours it has only found 50 documents. This script was written by another ...