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

-2
votes
0answers
9 views

Set up a new connection by batch language or registry

How to create a Dial Up Connection by batch language or modifying registry, and set the phone number and connection name, if failure return a message by command line.
1
vote
0answers
6 views

Batch file to combine pdf files in alphabetical order

I want to create a batch file to combine selected pdf files in alphabetical order. Currently I have the following script: @echo off setlocal enabledelayedexpansion FOR %%A IN (%*) DO (set ...
0
votes
4answers
44 views

Ways to start a program at the same time as cmd

I'm in a bit of a quandary: when I want to start a program at the same time as another program, my normal MO is to make a batch file that goes something like this: @ echo off start exe1.exe start ...
0
votes
0answers
27 views

Hide cmd.exe Process When Running Batch Script

I have a batch script that I am running hidden by executing it with a vbs. This is great, because it completely hides the cmd window. However, if I look in the Windows Task Manager I can still see ...
9
votes
4answers
6k views

Is there any way to get the windows cmd shell to expand wildcard paths?

Occasionally, the cmd shell's inability to expand wildcard paths can really be an inconvenience. I had to pass 100 files in a directory to a program, and couldn't type *.ext. Instead, I used mingw's ...
2
votes
1answer
10 views

How to project all the files or newest files that were added to the directory using gdalwarp and commandline(.bat file)

How am I going to automatically detect all the files that were added to the directory and then project it immediately?Because everyday I am downloading hdf files and then project it from time to time ...
0
votes
0answers
15 views

How to add two IP addresses to an interface through batch file

I have assigned a IP address to my LAN interface through I tried this netsh int ip set address "LAN" static 192.168.0.99 255.255.255.0 192.168.0.1 now I want to add 192.168.4.20 with gateway ...
2
votes
1answer
11 views

How to open multiple TGA files then save them compressed as 24 bits in Photoshop?

I have a huge amount of TGA files from the game Counter-Strike (environment files such as sky, grass, water etc) and they are pretty big. There were some other TGA files that I manually opened and ...
3
votes
0answers
68 views

Is there functionality that CMD has that PowerShell doesn't? [on hold]

This is not a question regarding which is better; I am purely interested in use cases where PowerShell cannot perform the same functions that CMD can. The only thing that comes to mind for me is that ...
0
votes
1answer
21 views

Batch Script Doesnt Delete Folders in a Folder .txt File :(

My batch file's code is: for /f "delims=" %%f in (7profiledeletelist.txt) do rd /s /q "%%f" PAUSE exit In "7profiledeletelist.txt", there are: (will be deleted) C:\Users\1* (I tried *.* it didnt ...
22
votes
9answers
52k views

How do I create a Windows Batch file that does not show the Command Prompt when executed?

I have installed a ruby gem called Redcar, which is launched from the command line. When it runs, it steals the shell until it terminates, so I have to create a new shell window to continue doing ...
1
vote
1answer
5k views

Batch file script for Enable & disable the “use automatic Configuration Script”

My intention is to create a .bat file that toggles the check box of "use automatic Configuration Script" in Internet Settings. The following is my script @echo OFF setlocal ENABLEEXTENSIONS set ...
2
votes
1answer
34 views

How to batch convert files from command line?

I'm converting music from a proprietary format that the Nintendo 3DS uses to wav. The only program that can convert this proprietary format is a command line program that takes input like this: ...
0
votes
0answers
29 views

Command to output its backend process

I have an application running in windows that has an option to run a command (UI base). I'm pretty sure that the UI base backend is running in a cmd but I dont know what is the exact bin file. The ...
1
vote
1answer
23 views

Batch file for configuring the ip address and removing it

My pc has a network configuration IP- 192.168.0.99 192.168.4.20 Mask- 255.255.255.0 255.255.255.0 Gateway- 192.168.0.1 192.168.4.1 I am connecting to the internet through the ...
3
votes
1answer
19 views

Index files and folders in windows

I want to create a database of all files and folders within a specific location (say, E:\movies). How can I do this? Is there any software which can do this for me? Otherwise do I need to write code ...
0
votes
0answers
25 views

How can I get ConEmu to open more than 30 tabs?

I have a .bat file which opens 100+ consoles, but I need them in new tabs. Problem is, ConEmu has a max of 30 tabs. I can do this with regular cmd, but its 100+ new windows. I'd prefer them in tabs ...
1
vote
2answers
21 views

Batch Script 32 bit limitation of integer

Is there any way I can over come the 32 bit limitation of integer math operation of Batch. I am doing some addition operation in my script and the sum value becomes more than the range( 2^31 -1). I ...
1
vote
1answer
19 views

Batch update multiple PDFs meta data

I Need to update a lot of old PDFs with newer meta data (File > Properties> Description - Title, Author, Subject...) I have too many to do it manually and could nto find a way to apply the same meta ...
1
vote
2answers
4k views

How to create a desktop shortcut from a batch file

I know there are many posts on this issue but there is a minor twist to what I need to do. I can figure out how to create a shortcut with an argument like this: "C:\Program Files\My App\App.exe" /s ...
0
votes
0answers
10 views

Windows batch file to read exif exposure bias?

In Windows Explorer, in details view I can add a column for Exposure Bias, then sort by that column to delete unneeded brackets. I do this so often I'd like to create a batch file or script that will ...
1
vote
1answer
2k views

Run an ftp batch file from within a batch file

I have a scheduled task which executes the commands in my file ftp.txt every day. The file can be seen below, it connects via ftp to my site and puts 3 XML files on to my web server. command: ftp ...
1
vote
0answers
28 views

Batch check if IP is within specific range

I'm trying to make a batch script to get local IP-address of active NIC (could be wireless or local). To get IP adress I have used following line: FOR /F "delims=[] tokens=2" %%a in ('ping -4 ...
0
votes
1answer
19 views

set environment variable from batch

When I set a environment variable envir using setx command, It seems to not actually 'set' in environment. setx envir "windows" if 1==1 ( setx envir "unix" ) echo %envir% set The set command ...
12
votes
4answers
13k views

How to batch combine JPEG's from folders into PDF's

I have a about 500 folders with images inside. Is there a way I could batch convert this so that I get .pdf files that contain all images inside as pages? EDIT: There should be 500 PDF's created, ...
-3
votes
0answers
27 views

Batch create XML to match filenames and include filename? [closed]

I have to make XML files to over 1,000 ISO files for media player use. How to make the script when I need: XML file has to be named exactly like the ISO files (over 1000 different files) and saved ...
0
votes
2answers
34 views

Batch grab all font files

I'm not too great at Batch but I am fairly sure it can do this despite not seeing any other questions/pages on this. My Issue: I have a series of font files (.otf and .ttf) within a folder. Some are ...
-1
votes
3answers
53 views

Windows Batch File to copy and count file names and output to single file

I have a folder with multiple files containing records. I want a windows batch script which will copy all the 'file names' into a single output file along with the count of records that are present ...
4
votes
2answers
46 views

Replacing certain word in text file using Batch file

I am trying to use a batch file to determine the currently installed drive letter and to replace a keyword in the ini file with the drive letter. Basically the ini file contains: [app] ...
59
votes
7answers
66k views

Batch converting PNG to JPG in linux

Does anyone know a good way to batch-convert a bunch of PNGs into JPGs in linux? (I'm using Ubuntu). A png2jpg binary that I could just drop into a shell script would be ideal.
0
votes
2answers
62 views

The Directory name is too long in batch

I already asked the question in stack overflow, but did not get any answer from anyone. So i am asking the same question here also. I am trying make a program which will calculate size of all folder ...
0
votes
0answers
28 views

How to disable the screensaver password for all users via command line?

I have a pool of ~40 terminals running Windows Embedded POSReady (basically, a modified Windows XP). My problem is that these computers requires a password after exiting the screensaver. The ...
0
votes
1answer
38 views

Windows Batch File - delete data after a delimiter

I have seen several examples of what I need, and have tried modifying those without success. Starting information: a:b:c:d:e:f Desired Format: a:b Information will be pasted in 1 text file ...
2
votes
3answers
2k views

How to get date value in commandline

I need to do a command that takes yesterday date and builds it into a file path like this: copy "Something 2010-12-06\*.zip" "d:\Copy\" where 2010-12-6 is yesterday's date in format yyyy-mm-dd. ...
0
votes
1answer
30 views

How to use `%` in a batch file

I want to associate a extension to a program by a batch file. This command works fine when I write it interactively. ftype wavfile="%ProgramFiles(x86)%\VideoLAN\VLC\vlc.exe" "%1" But when I write ...
0
votes
2answers
42 views

Alter CSV file in Windows

Is it possible to read the contents of .csv and add another column data for every record ?. Example : The input CSV will have the following contents Row 1 : C1 C2 C3 C4 <C5> ........... Is ...
0
votes
3answers
2k views

Minimize a program's windows after running it via .bat/.cmd

I'm trying to find a way to auto-minimize a program just after running it from a .bat file. I'm launching a SSH session via putty, and I'd like putty to auto-minimize. I use it just for the SSH ...
2
votes
3answers
34 views

How do I write a batch script to start a process and terminate it after letting it run for about 10 seconds?

How do I write a batch script to start a process and terminate it after letting it run for about 10 seconds? @echo off start abcd.exe [X] taskkill /im abcd.exe /f exit
1
vote
1answer
271 views

Converting Unix script to Windows batch for FFmpeg resizing

I want to reduce video dimension to 720:480 & keep original aspect ration when input video width > 720 else, keep original dimension and aspect ratio. I am trying to reproduce this script in a ...
0
votes
2answers
32 views

How to Make Directories Based on File Names, and Move These Files Inside Them using CMD?

As I said, I've Some *.Xml Files in one folder, I want to move them to sub-dirs based on their names . But, I need two more things :- 1- I've to apply/run the command from a parent directory, not ...
-1
votes
0answers
12 views

Batch file validation and/or find/replace

I have a .csv file that is an export of a database. During the export, some records are getting a carriage return/new line inserted. It always occurs after the last name in the following string: ...
0
votes
0answers
13 views

How can I (on a mac) highlight a list of files in finder from a list of filenames in a spreadsheet?

I do a lot of content management. I already have a program that will detect from a spreadsheet a list of filenames and RENAME those items... but this program is limited to renaming those filenames. ...
0
votes
1answer
25 views

How to batch process overlaying of different images to a directory of images?

Folder1 has some images in png format and Folder2 has same number (& names) of images in png format with a watermark and transparency. I would like to overlay images from folder2 on images of ...
0
votes
0answers
12 views

Batch watermark images and append wildcard number

I'm using irfanview to batch process images it has the ability to add watermark to it as well, I want to be able to add a wildcard number after the watermark text, at the moment it just adds the ...
0
votes
1answer
19 views

How to search for a certain keyword that match the variable in batch file

I have search and tried various question and solution that are posted in this site. But a beginner like me doesn't have the brain for it. The code below work well if I put 1 single string. how to ...
4
votes
3answers
12k views

Script to create folders in multiple directories using YYYYMMDD date as the folder name

At work every morning I have to create multiple file folders (using a YYYYMMDD date format as the file folder name) in different directories across our network for various departments. This is a real ...
0
votes
0answers
19 views

Replace Symlinks with Real File in Windows

So I recently began using Kickstrap for a new project, and I've discovered that while Kickstrap successfully compiles and puts all the files in the right place, any files that end up identical are ...
0
votes
2answers
2k views

Cut a part from a filename (windows batch)

I got files named like this: cam1(word1 word2 wordN) (24-04-2012 00-11-13).mpg cam2(word1 word2 wordN) (24-04-2012 00-11-13).mpg cam3(word1 word2 wordN) (24-04-2012 00-11-13).mpg Need to cut (word1 ...
3
votes
2answers
2k views

Batch convert all html files in a directory into pdf files in windows?

I see one solution so far: http://www.htmldoc.org/ Are there any more out there which are suggested?
0
votes
2answers
39 views

How to batch create number folders using CMD? [duplicate]

Is there a way to batch create multiple number folders using cmd in Windows 8.1 64-Bit? I need something that'll create multiple number folders without using the following md command: ...