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

1
vote
0answers
66 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 ...
0
votes
1answer
56 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
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
44 views

check and warp newest files added

How am I going to automatically check all the files that were added to the directory and then warp it immediately?Because everyday I am downloading hdf files and warping it from time to time is a ...
0
votes
4answers
55 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
66 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
78 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
95 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 ...
0
votes
0answers
52 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
42 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
48 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
27 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
55 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
92 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
25 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 ...
0
votes
1answer
37 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
232 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
195 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
73 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
42 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
40 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
95 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 ...
4
votes
2answers
357 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
36 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
42 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
37 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
34 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
26 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
118 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: ...
1
vote
2answers
152 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
280 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
52 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
1answer
31 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|| ...
2
votes
2answers
160 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
61 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
27 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 ...
0
votes
2answers
138 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 ...
0
votes
1answer
21 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 ...
2
votes
1answer
53 views

How to change directory to unknown subdirectory

I'm writing a short batch program to copy *.doc The files are in directories where it's name can be changed. In each directory, only have one folder only. If in DOS command window, i'll just key-in ...
0
votes
1answer
61 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
280 views

Xcopy or Robocopy from Network folder to SharePoint(2013)

I am trying to copy files from a network folder to a SharePoint folder. I have read/write permissions to the SP folder and can manually upload documents to it. I was able to get the .bat to work 1 ...
0
votes
0answers
17 views

Associate files with batch script [duplicate]

I've got a .bat-file which expects an input file as a command line argument, i.e. script.bat input.key I associated .key-files with script.bat in Windows and I excepted the same behavior like I ...
1
vote
1answer
74 views

Running a same batch file again every 30 minutes

I have a batch file which is just a simple batch file. You can take any example. How can I keep the batch file running in a loop from start to end again and again, till the specified time is met or ...
0
votes
1answer
437 views

Combine Batch/WMIC + ANSI/UNICODE Output formatting

In creating an auditing tool for my network, I'm finding that WMIC is outputting with spaces in between each character when accompanied by echoing regular text. For example, This: @echo off echo Foo ...
2
votes
3answers
37 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
2
votes
2answers
162 views

Batch File to start .exe when a specific number of files is in monitored folder

I am trying to write a batch file that will trigger an exe whenever there are exactly 4 jpg images in a folder. Afterwards the images should be deleted. I have got it to work it seems, but the file ...
-1
votes
2answers
216 views

Batch scripts disables Internet - getting 'System cannot find the drive specified' though I'm not asking it to

I have a batch script (that I'm running as a .cmd file through the right-click Send To menu) that first disables a user's Internet adapter, then securely unzips a .zip archive. For most people, it's ...
0
votes
1answer
40 views

Debugging a python program, called from another batch file

I have an annoying problem. I have a windows batch file, that does some initialization (mainly setting python paths) and then calls a python script. When the batch program is run, another window is ...
10
votes
2answers
1k views

Passing command-line arguments to a windows batch script

I need to create a windows batch script where I need to pass a few command-line arguments. These arguments may appear in in any order, but the script should pick them up properly based on the argument ...
0
votes
1answer
87 views

Batch File To Convert All Files In Directory To ATF

I am currently developing and Adobe Air mobile application and need to convert a large number of files from .png to .atf. I currently do this by running commands like the one below on every file. ...