Tagged Questions

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
17 views

Why do my .BAT files on Windows 7 not PAUSE properly?

I've been playing around with writing batch files on my computer for some time, and I am confused about why PAUSE doesn't work like I thought(maybe I'm just doing it wrong idk, just really confused). ...
-1
votes
2answers
23 views

creating a batch file to run different codes sequentially

Im trying to create a .bat file with with different codes, each of these codes exceute different commands, but I don't want to run them separately but in one batch file. All my batch codes that ...
1
vote
1answer
10 views

I would like to batch change one colour in a group of PNGs. Mac - freeware software

I hope someone would be able to help me. I have a group of icons in png format. They are all transparent backgrounds with one colour for the actual icon. I would like to change this colour in all of ...
0
votes
1answer
23 views

Batch is starting too fast after reboot

So i have batch1 as this REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V 2 /D "%~d0\bat\batch2.bat /f and then I reboot the computer (Windows 8) and batch2 starts. It seems like ...
0
votes
2answers
37 views

How to you tie different batch commands into one file to run sequentially

I have a 5 batch files but I want to put them all in one file to run one after the other consecutively. Is that possible? What is the command that can tie the different files together .. I don't want ...
0
votes
0answers
31 views

How do I create a batch file to insert text from a .txt to a new txt and repeat the task?

wow, bad title, but here is what I am looking to do. Text-file-1 contains: 123.com 234.com 567.com I need to have those values inserted into a new document in 2 places, and them move to the next ...
3
votes
1answer
27 views

Batch files to combine multiple files (that have parentheses in their names)

The background: I'm using IFTTT to pull DC Metro bulletins from their RSS feed into a text file for my BBS. The biggest problem is that IFTTT cannot overwrite or append to files, so I get multiple ...
1
vote
0answers
20 views

Batch delete temporary Windows files (system, browsers, cache, etc) for all users

Is anyone in this community using a particular technique to achieve batch deletion of temporary data (such as Windows temp folders, browsers cache, etc) for all users? The tricky part seems to be: - ...
1
vote
0answers
27 views

batch file sends mail after getting zipped

Hi i am totally new to the Batch file concept. I have created a batch file which zip the sever logs month wise and then delete those logs. But when i delete that zip file, my batch file will send a ...
1
vote
0answers
14 views

How to generate URLs to shared files in my google drive in batch? How about create Qualtrics surveys in batch?

I have about 200 images uploaded in my google drive, and I want their URLs. I can, of course, manually click "share" for each one of them to get their URLs then paste them in a text file myself, but I ...
1
vote
2answers
74 views

How can I zero-pad numbers in a Batch FOR loop?

I am writing a batch file to do some operations on remote computers in my building. They are all named with the same prefix, but the number at the end changes (01–65). I tried to follow an online ...
0
votes
1answer
17 views

Execute “tar -cf” command from “send to” batch file to .tar.gz a file quickly

I installed the GNU tar for windows to speed up tar-ing files so I don't have to mess around opening 7zip twice to tar then gzip a file. To speed up the process even more, I tried to write a send-to ...
0
votes
0answers
14 views

How to combine forfiles and for script to run the file

project all the level 2 HDF Files only save to a new directory every time that there are new level 2 HDF Files added to the directory, project it immediately Here are the two script: First script: ...
-1
votes
0answers
37 views

Batch file to delete as much as possible, before shutting down?

I'm in the process of deploying a product for manufacturing. During manufacturing my machines will have a WinXP image installed (using FOG Server) that includes many of our debugging tools, things ...
0
votes
0answers
16 views

Batch ren Command - Only Rename Files with This Pattern

There's a program I use that renames some files to a random string on each use. It's annoying, and I can't get it fixed, so I wrote a script to change them back when I'm done using the program. The ...
0
votes
0answers
22 views

Windows 7 adding context menu entry

Alright, so I've followed this tutorial. Upon getting the common problem and reading the last entry, I found that Running as Admin did fix the problem and I used the shortcut method as indicated. I ...
-2
votes
0answers
14 views

Set up a new connection by batch language or registry [closed]

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
1answer
43 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
41 views

Hide cmd.exe Process When Running Batch Script [duplicate]

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
36 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 ...
1
vote
0answers
23 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
49 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
18 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
27 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
81 views

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

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
24 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
36 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
23 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
28 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
21 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
26 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
44 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
12 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
30 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
22 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 ...
4
votes
2answers
64 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
65 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
40 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
36 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
34 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
32 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
15 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
67 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
14 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. ...
1
vote
1answer
23 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
37 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
21 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
21 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
25 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
44 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: ...