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

Parameters for loading PDF files in MuPDF with different resolution

I'm running MuPDF in Windows 8.1. It works fine for the most part (it allows file association). But there are no CFG/INI files for manipulating parameters and no app-specific option menu in the ...
0
votes
1answer
139 views

Batch to check if removable disks are connected. If yes, execute another command

I know how to check if there are removable disks connected with a CMD command wmic logicaldisk where drivetype=2 get deviceid, volumename, description But now I would like to make a batch that ...
0
votes
1answer
87 views

How would I make a batch that asks user input for timeout time?

I have a batch that allows me to hibernate with timeout but now I would like it to ask me the time for timeout. So it would be something like below: Batch asks for %value%: (user would write a ...
0
votes
1answer
242 views

How do you boot to a seperate drive that is cloned , for the purpose of a backup system partition?

I use Acronis to Image clone the system partion (OS) to a seperate drive (not disk clone). oops just the partition The purpose of the seperate drive with system partition cloned, is to be able to ...
0
votes
1answer
80 views

Batch file to edit users path

I have a batch file that I got from another post in this forum which edits the user's path but it bombs if the path contains any Program Files (x86) entries that are common on windows 7 machines. Any ...
0
votes
1answer
72 views

Batch convert mono WAV to stereo verbatim

I have a bunch mono .wav files which I need to convert to stereo in order to run thru lame. Lame can't encode stereo mp3s from mono input so that's what I need to do. I don't need any modifications ...
0
votes
1answer
86 views

How to restart batch file itself?

How to restart batch itself automatically? If the filename of batch changed, start <fixedbatchfilename> must fail because though the filename changes, the command doesn't. Is there a ...
0
votes
1answer
204 views

forfiles.exe not working for c:\users\internet\downloads or documents

I am getting could not find c:\users\internet\downloads\new.txt when i run the script in cmd is it because there's a lock icon on the user account on windows7, the script works fine if i change ...
0
votes
1answer
170 views

How can I print a batch of files with custom printer settings?

I have a collection of A3-size (tabloid size) PDF drawings which I would like to print as a batch. The particular printer I am using doesn't automatically check the paper size of the document - it ...
0
votes
1answer
153 views

Start jade via batch script as service on windows server 2012 amazon ec2 instance

I would like to start the Jade agent platform with a batch script on an windows server ec2 instance as a service. The reason for this is, that I want to start jade automatically at system startup. ...
0
votes
1answer
400 views

Using command prompt batch files to automatically rename duplicate files

I have batch file that generates one file *.txt that I use for review some details about installation process of a software, all good BUT how can I generate a new *.txt file on the same location with ...
0
votes
1answer
174 views

How to batch extract from archive using tar to directories

I m trying to extract files contained within a directory in a tar.gz file. The extract I m using is tar zxvf foo.tar.gz. It extracts the files from the archive but removes them from the directory they ...
0
votes
1answer
99 views

Alter txt file contents with BAT script

I need to take a text files contents and sort them into a column and re-save the file. The contents of the file look like this, all in one string.... ...
0
votes
1answer
315 views

How to create batch file that delete files by words at the end of file name (using a list of words)?

I have a directory with thousands of html files scattered across several subdirectories. I need to delete all files matching any one of many criteria. All criteria are similar by kind. The file names ...
0
votes
1answer
257 views

VB or Batch script to get the MAC address of remote windows CE devices

I'm trying to write a script in vb to open a telnet session to a remote windows CE7 device from a Windows 7 laptop to get the output from ipconfig /all to a text file, then append the contents of that ...
0
votes
1answer
66 views

Program exepects to point to a *.exe that is running under Windows XP Mode

I have a program (Xilinx ISE 10.1) that I have to use [it is the last ISE which supported the Virtex-2, which one of our designs uses]. I'm using Active-HDL, which expects a *.exe file for ISE to ...
0
votes
1answer
110 views

Move only certain files with cmd

I have many files, e.g. 1000, with different names that I have a list of. If I want to move certain files (suppose 400) to any directory, how can I do this? The problem is the files have no ...
0
votes
1answer
63 views

Create user account for current logged in user

We have over 100 users that need to be made users on their Windows 7 machines. It's very easy to write a script using net user, but it doesn't get us a level of automation we need. I would like to be ...
0
votes
1answer
402 views

How can I start multiple applications and instances using a Windows Scheduled Task?

I have three main applications. I am trying to start them automatically at log on in a specific order with a given delay. Here is an example of how I'd like everything to be: User logs in. Wait ...
0
votes
1answer
169 views

User input in batch file

I have a batch file that looks like this, which takes a picture of a webpage and crops it: cd C:\users\***\Downloads\IECapt-2008-06-10 IECapt --delay=10000 --url=http://test.com/picture.swf?id=1 ...
0
votes
1answer
103 views

Find the character in line?

I am trying to find the some character in file using find or findstr, for example file contents like: "/test/abctest/abci.txt = c:\abctest\tst\work\workt.txt;abc_test1" "/test/abctest/abci.txt = ...
0
votes
1answer
382 views

Need a script to calculate batch file execution time

I need a script that I can call/include from another batch file (.bat) that can calculate the amount of time it takes to execute the first batch file. The script would be used for automation on both ...
0
votes
1answer
353 views

Windows - Check if copy is in progress via command line

I was wondering, is there any way to know via the command line in windows if a copy is in progress? I'm writing a batch script to automatically shutdown all the computers on my network but we do ...
0
votes
1answer
2k views

Batch file to obtain system info of remote servers list with unique login credentials

I'm not familiar with scripting. I have a task at hand which requires to check server uptimes to make sure if they were actually re-booted when they suppose to. I was going through Google Search and ...
0
votes
1answer
277 views

.Bat file that opens 2 URLs in different browsers then click on button located on the each page

I Would like to click on .Bat file that opens 2 URLs in different browsers (Firefox and IE) then click on button located on the each page (ex. Submit or login buttons) . This is what I got so far in ...
0
votes
1answer
387 views

batch remove pdf password using Acrobat pro 11 or other software

I have thousands of pdf with password encrypted and i want to remove the password in batch process, i tried acrobat 11 pro and created a batch action to remove, but its til prompt me every to enter a ...
0
votes
1answer
668 views

How can I move files between folders and subfolders using a Windows script?

I am moving .jpg files from a directory and its subdirectories on a daily basis and then deleting them. To make this easier I created 2 batch files: One that moves the files and one that deletes them. ...
0
votes
1answer
83 views

Mirroring a folder without deleting files in destination less than n days old

I would like to mirror a folder, but only delete files in the destination folder older than 7 days. Situation: Folder A is mirrored to Folder B. A file from Folder A is deleted I would like for ...
0
votes
1answer
98 views

Create a folder.jpeg for videos from batch script

I want to be able to run a batch file and it looks in all the folders within directory and creates a folder.jpeg for each flv it finds in a folder. I have this script that works but it puts the ...
0
votes
1answer
520 views

Batch creation of previews of mp3 songs

I want to create snippets of mp3 songs using the first 30 seconds of each song. I want to apply the following actions on each mp3 song: Cut the first 30 seconds length of each song. Apply fade out ...
0
votes
1answer
1k views

Extracting last command-line parameter of batch file

I have to modify a batch file (written by a former employee) that uses a for %%f in (%*) do ( ... ) loop to operate on each command-line parameter. The new requirement is that a directory name will be ...
0
votes
1answer
113 views

what is the most common/efficient way of managing collections of batch files?

Problem: There are generally many examples of using batch (and bash) scripts in DOS shell to automate various programs. But I have found few resources that suggest ways to manage all the batch files ...
0
votes
1answer
552 views

How can I find and replace multiple blocks of text in multiple documents all at once?

I tried searching for this everywhere but couldn't find any solution. I have 100 html pages with various text to translate. I have also the translated text ready on a word document. So what I have to ...
0
votes
1answer
509 views

Find and move hidden files from sub-directories with batch file not working

I'm trying to use this batch file to find and move files... but it does not work on hidden files. What's missing? @echo off setlocal set root=E:\backup set dest=E:\Tmp for /f "delims=" %%f in ('dir ...
0
votes
1answer
836 views

running tshark command in windows batch file

I have written a batch file that runs a tshark command to filter fields from a wireshark pcap file and write them to a csv file. When i ran on the windows cmd CLI, i had to change the current working ...
0
votes
1answer
219 views

Why is my batch file doing nothing for 46 seconds before a forced quitting?

I have figured out what part of the code is doing this but dont know how to fix it... Here's the code: Set _Path=Private For /F "Delims=" %%I In ('Attrib "%_Path%"') Do Set _Attribs=%%I If ...
0
votes
1answer
374 views

Windows batch script for tshark

I am trying to make a Windows batch script for tshark. here is the tshark command I use tshark -V -r file.pcap -T fields -E header=y -E separator=% -e wlan.sa -e ip.src -e wlan.da -e ip.dst > ...
0
votes
1answer
233 views

Copy all files to one folder using CMD

I want to collect all images and movies in one folder. I try to type in Windows XP CMD: set nowy="c:\nowy" mkdir %nowy% for /R %f in (*.mpg *.swf *.jpg) DO (copy "%f" %nowy%) but it seems that if ...
0
votes
1answer
83 views

Windows - how to copy searched/found files to another location?

I would like to write a batch file to search for files with a particular pattern in sub-directories and copy them to a particular directory. It seems easy in Linux but how can I do that in Windows?
0
votes
1answer
275 views

Windows Batch Script to calculate Filesize 'Chart'

I am seeking to understand that "average" file size for a folder on my computer. I have calculated the true average of files (total size / no. of files), however I would, ultimately, love to group ...
0
votes
1answer
786 views

Copy Mac Address into Clipboard help in Windows 7

Given the batch script below. How would I be able to give me a MAC address with no dashes and add a "D" in front of it? So when I go and paste, it has a MAC address that starts with a D and there ...
0
votes
1answer
445 views

OCR batch processing images

I have about 3000 small images of text which I want to process into a comma separated list. Is there any free program that would be capable of this?
0
votes
1answer
705 views

Batch converting video from avc1 to xvid

I need a way to batch convert 720p video files from avc1 to xvid in Ubuntu 10.04. I'm not terribly concerned about file size, but I do wish to retain the picture quality as much as possible. I believe ...
0
votes
1answer
789 views

Batch script: grant folder full control to users group

It should be done from command line (batch/cmd script, not PowerShell) as part of post-install like event I tried cd C:\ProgramFiles\AppDir\Settings CACLS /T /G BUILTIN\Users:F But it didn't ...
0
votes
1answer
1k views

Batch Conversion of PaperPort MAX Files

I've got a library of MAX files from an old Visioneer Scanner that used ScanSoft PaperPort. I don't have the PC that I used to scan them anymore, and I don't have the CD for PaperPort. Does anyone ...
-1
votes
1answer
19 views

when executing batch file cmd only outputs so much

I write simple batch files to automate simple processes along the lines of this for /r %%n in (*.wav) do del "%%n" PAUSE when i execute this command the cmd quickly scrolls through all the files ...
-1
votes
1answer
40 views

Batch file to copy files from server to desktop according to date

I will explain what I´m trying to get up and runing. I have a folder on the server containing several subfolders and zip archives in those folders. The string of the server is like: ...
-1
votes
1answer
34 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 ...
-1
votes
1answer
130 views

Batch Launcher With Variables

This batch launcher was created so that batch files won't launch a command prompt window... Now that i'm adding more variables to it, it's not working... I'm launching the VBScript like so; wscript ...
-1
votes
1answer
439 views

“CACLS” is not recognized as an internal or external command, operable program or batch file

I have been using CACLS batch file many times and today it is not recognized. CACLS.EXE exist in C:\Windows\System32 and I have tried writing at command prompt: CACLS * /E /T /C /G Administrators:F ...