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

Writing a batch script to swith between connecting through a proxy server or not

When at work I have to connect to a proxy server and at home there is no server, so every morning I have to go through the fairly tedious routine of ticking the box in Control panel --> Configure ...
0
votes
0answers
39 views

How to add a program in registry using batch file?

I want to add an .exe program to this registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell I tried this code @echo off reg add ...
0
votes
0answers
25 views

Bat command error cannot find specified file

I have written this simple batch to truncate a table but when I try to run it on this particular server (Windows 2008) it comes back with an error. The system cannot find the file specified. The same ...
0
votes
0answers
22 views

Need help on renaming of files in a remote server using batch file

I need to rename a file in Server B using a batch script. This is easy: rename \\servername\path\test.txt test.old On Server B, I have an application that will create a file daily at 9pm. Eg: Every ...
0
votes
0answers
32 views

Massive XML Import in Excel in batch mode

I have created an XML map in Excel 2010 and I can import hundreds of XML files at once in an Excel sheet. However I would like to automate this, i.e. import new XML files that reside in a directory ...
0
votes
0answers
38 views

Make a batch file close when a program different from the one it starts closes

I need to make a batch file that starts one program, and closes when another closes, but i cant get the batch file to work without starting two instances of name2. When I only use Start /wait, the ...
0
votes
0answers
32 views

batch listing all active ip addresses

I searched for this, then I tried to create a batch file to no avail. I have a great program (netwatcher) that gathers active IPs (using the arp table) in one address range only, but I have subnets ...
0
votes
0answers
12 views

Chop everything after the first 30 seconds of MP3s on mp3splt-gtk 0.9.2

Chop everything after the first 30 seconds of MP3s on mp3splt-gtk 0.9.2, so I would like for my whole batch within the file of Mp3s to be only the first 30 seconds of the song, and everything else ...
0
votes
0answers
72 views

How can I have a custom 7Zip batch script work like the “add to archive…” context menu action of 7Zip?

I am trying to figure out a way to select several files and folders in Windows Explorer and add them to a password protected .zip archive using a batch script, 7zip and a custom context menu item. ...
0
votes
0answers
20 views

how to auto run batch file when a keyboard is connected?

I have Asus Transformer T100: a tablet that came with a physical keyboard. The keyboard is connected with a strange port (not USB). I want to run a specific batch file when the keyboard connects and ...
0
votes
0answers
50 views

Rename files using cmd and allow duplicates file name

I have my batch file which consists of the following command. REN "H:\April2012\A04\mr_sudheendra_holla_vaderhobli.pdf.1335780379203.ver1" "mr_sudheendra_holla_vaderhobli.pdf" But if duplicate ...
0
votes
0answers
49 views

How can I add loopback adapters with the command line and configure them with the command line?

What is the command line to add a loopback adapter with IP 127.0.0.2 on Windows 8.1? I need to add 65,000 ip's to my local machine for network stress tests (connections from many different IP's) for ...
0
votes
0answers
27 views

Batch conditions and variable

I have a question about variable and batch windows. The main goal is : I have files in directory (pattern 0? with ? a number between 0 and 9). First I create a %%nf.bat (filename of each files) ...
0
votes
0answers
134 views

Batch file unable to run commands after launching putty

I am writing a batch file abc.bat which is used to launch putty. I want the .bat file to go to a particular folder (in PuTTY), source it in csh and go to a particular path on that server. I wrote the ...
0
votes
0answers
28 views

Looking for a Batch script or Jenkins plugin

I have a two Jenkins jobs. First one do the build and copy the special version number in a property file. In my second Jenkins job, I read that property file in parameterized variable setup and ...
0
votes
0answers
74 views

Create empty MySQL database via batch file

I have read several answers here but can't see to get the syntax right. The task is to get a batch file that inputs a variable (db) and uses that variable to create an empty MySQL database. My ...
0
votes
0answers
13 views

Can I change dimensions of all PowerPoint images at once?

I have a lot of PowerPoint (2013) slides with a screenshot on each slide, which do not fit exactly on the slide. I can change width and height of an image individually, but can I apply those changes ...
0
votes
0answers
33 views

Windows Script Host

My batch file runs on my PC, but when I run it on the server, it calls the Windows Script Host (WSH) which seems to hang the process. There are no settings for the WSH. when I kill the WSH my batch ...
0
votes
0answers
19 views

Batch WinRAR Cluster Error

I've recently have had a problem with a small project of a batch cluster WinRAR cracker of numeric. I have a master file that controls all the variables for the clusters and have 8 clusters. I have ...
0
votes
0answers
51 views

Mac Terminal Renaming Bulk files Randomly

I have googled and looked on here but nothing is as basic as I want it. Whats the best way to rename a folder of both .jpg and .JPG files to a random number - I have 250 images and I randomly want ...
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 ...
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 ...
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
0answers
94 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
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. ...
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
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
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
0answers
279 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
45 views

(oldie not working on Win 8.0 x64?) Command prompt (.vbs) only solution to zip files and folders (batch .bat .cmd)

I worked with Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files? zip.vbs: Set objArgs = WScript.Arguments ZipFile = objArgs(0) ' Create empty ZIP ...
0
votes
0answers
53 views

how can I remote shutdown after host pc shuts down?

I have windows 7 Pro and for the project I'm doing I need the remote PC to automatically shutdown when the host shutdown. So say if I power down computer a I would need computer b to shut down within ...
0
votes
0answers
56 views

Scheduled task doesnt work Windows 8

I have this batch that makes a scheduled task calling to a powershell script and i cant make it run in windows 8. It works perfectly on windows 7 but when i use it in windows 8 it keep stuck. My ...
0
votes
0answers
78 views

Server 2012 - Scheduled Tasks - “You do not have permission to access this computer”

I am on host_server, trying to schedule a task on remote_server. Both servers are Windows Server 2012 R2 and belong to WORKGROUP Steps Open Task Scheduler Right-click Task Scheduler and select ...
0
votes
0answers
21 views

Want to write batch script on the basis of system date and exit code

This is MY first question in this forum, Hope any one of you can fix the issue.. I have one log file containing the pattern as below "abcd.job" (abcd.bat) Started 27/8/2014 5:00:00 AM ...
0
votes
0answers
35 views

Windows 7 mountvol and task scheduler

In Windows 7, I have a Task-Scheduler job which run Backup4All, to do a backup of my data. It has provision to run a "pre"-backup batch file, and a "post"-backup batch file, which I have taken ...
0
votes
0answers
573 views

SOLVED: runas /savecred error 1311 no logon server

Computer: Windows 8.1 Pro on company domain I have a program that needs to be run occasionally for testing purposes, and is installed and uninstalled regularly. I am not a domain administrator, and ...
0
votes
0answers
51 views

Prefix commands in batch

I am using a batch file to run Grunt with some console customization. I was wondering if there is a way to add grunt and a space to the commands I enter into the console. Here is my batch file: CD ...
0
votes
0answers
30 views

In windows, filter and delete image based on dimension(or any search filters for that matter)

In windows explorer, I can filter a folder based on the dimension criteria, say: width:<800 height:<600 (so that I filter small images) height:>2000 (so that I filter portraits) and then delete ...
0
votes
0answers
436 views

What's the equivalent of Wevtutil in XP or 2003?

I have a batch file for saving event logs to our shared drive. I want to do this for XP and Server 2003 without very much effort. What could I use since Wevtutil is only on Vista and up? rem Script ...
0
votes
0answers
41 views

NDIS driver batch installation on Windows 64bits

I want to update a BATCH script to install an NDIS filter driver on Windows Seven (32/64 bits) and above, the script use snetcfg on Windows XP 32bits, and I would like to know if snetcfg is still an ...
0
votes
0answers
27 views

Launch Windows application/run script on email

So, I've been trying to make a way for my game server (Minecraft running McMyAdmin, specifically) to turn on when my computer receives an email, as I don't necessarily want the server to be running ...
0
votes
0answers
240 views

batch file-change date back, run program, stop program, change to actual date

please for special purpose I need for one program to run it on system date 06.04.2014 what is batch file to automate it, that is change system date back, run program (i want work in it maximum 15 ...
0
votes
0answers
28 views

enviroment variable %PROGRAMFILES% with 2 executions

I want to install a program with a batch-file to the Program Files folder. Afterwards I want to copy a folder to the same folder. Here is an example: SET SCRIPT_LOCATION=%~dp0 SET ...
0
votes
0answers
404 views

Windows batch script: Manual power up vs Wake on Lan (WOL)

OK, I have a (win 7) desktop computer with WOL set up so I can turn it on remotely, it works fine. Next thing, on this computer I have a batch script, which runs at startup and starts various apps, ...
0
votes
0answers
35 views

batch files compare before and after before deleting

I use two commands in this batch file for /r %%n in (*.wav) do xma2encode "%%n" for /r %%n in (*.wav) do del "%%n" Sometimes xma2encode doesn't create the .xma file like it is supposed to. If it ...
0
votes
0answers
43 views

Batch file - List Files by extension

I am looking to get a total number of files by extension in a folder that contains many subfolders. Example Output: .doc: 6 files .xls: 10 files etc I want to either output the results into a ...
0
votes
0answers
67 views

Batch Script to ZIP Together Files With Same Names

I have 314 vector images I'm looking to submit to the various stock image sites I'm a contributor to, but a number of these require that the vectors be bundled into a ZIP folder with a JPEG preview ...
0
votes
0answers
108 views

Batch removal of watermark from a pdf using pdftk

Is there any script available or possible to remove a specific and a very large watermark using python. How to remove watermark from pdf using pdftk? I followed everything in the above link but i've ...