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
7 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
0answers
28 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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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
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 ...
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
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
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 ...
-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 ...
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] ...
-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 ...
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 ...
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 ...
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
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 ...
-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
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
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
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
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 ...
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 ...
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
0answers
24 views

A way to save all the names of active windows and tray icons periodically

As title says, I've already checked this post: Is there a way to copy the file paths of ALL active windows' opened files? (for saving and restoring your Windows session across a restart) And I ...
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: ...
0
votes
0answers
32 views

How to execute batch script in windows right?

According this answer in How do I delete a folder which is nested quite deep and avoid “File name too long”?, I created 1.bat file with following source: @echo off if not (%1)==() cd %1 for /D %%i in ...
0
votes
2answers
39 views

Windows pausing service instead of restarting it when batch file called from task scheduler

I have set up a task in Windows Task Scheduler to run at a specific time each day. The task simply executes a batch file I've created to restart my Windows service. This is the contents of that ...
0
votes
0answers
28 views

Create VPN connection using batch

Is there a way to make a batch file that creates a VPN connection? I just need it to accept the Internet address and Destination name, and make a VPN based on that. It'd also be great to get the ...
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 ...
1
vote
1answer
49 views

How to find all executable files in a windows directory?

I'm not sure of the commands or syntax needed to complete this but I thought it would be easy considering what I need it to do. Essentially I want to search C:\users\ for .exe files and output the ...
0
votes
1answer
20 views

How can I remove spaces only from specific position using batch script

I have an entry as below in my input file (input.txt) : mcolWarrant||||||||| 0||Forwarded|| mcolWarrant||||||||| 0||Forwarded|| mcolWarrant||||||||| 0||Forwarded|| ...
-1
votes
0answers
19 views

Script to detect a file landing and processing

I need to write a .bat file to fulfill the below requirement on Windows machine We have few file which comes everyday to one folder from where they are processed using a old batch script every 2 min. ...
2
votes
1answer
55 views

How to install a dummy printer by command?

i need to install a fake/dummy printer on windows using a command or a batch file. I was able to install a dummy printer using the wizard and selecting a NUL port. The problem is that i need to add ...
0
votes
0answers
34 views

General-purpose For-Loop Windows batch command with User Input

How can I use as "input" over each file in a directory using a for-loop as "output" in its subfolder? I think the answer of this question will be very helpful, so I will give general-purpose example: ...
0
votes
0answers
21 views

Batch arguments for SSH Secure Shell in Windows 7?

I installed SSH Secure Shell to connect to my remote server, and I want to automate the process of updating my website. I was going to make a batch script to automatically push and pull from my site ...
-1
votes
0answers
12 views

Batch export text from one Word Document to a new Word Document

Several years ago one of our employees batch converted our documents (which are templates) onto new letterhead because the company logo changed. I know that the person used a macro. This happened ...
-1
votes
0answers
17 views

Batch - 100% works in Win 8.1 but dont show text in Win 7 - Help please

i have made a batch script that works 100% on Win 8.1 64bit, but when i test it on Win 7 64bit script doesnt show the text in ip_adress.txt -> rem MBAM create dirm move, start md "MBAM" move /y ...
0
votes
2answers
35 views

DOS Batch - Get current directory whilst in a for loop

I intend to write a little DOS batch that creates m3u files for a given subdirectory structure containing sound files. The m3u file shall have the name '[Parent Directory].m3u' (where [Parent ...
-1
votes
0answers
18 views

batch file - move doesnt work

I am trying to make a little batchfile in bat to exe converter v2.13. This program converts batch to exe... I included files which are immediately upacked into same folder as is converted batch. Now I ...
0
votes
1answer
15 views

Get choice converted to alphabet in batch

I want the user to choose an alphabet CHOICE /C A-Z /D D /T 3 /M "Choose an alphabet: " Is there a way to avoid writing all the A-Z and then IF %ERRORLEVEL% EQU 1 SET CHOICE=A IF %ERRORLEVEL% EQU ...