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

How to batch print SWF files to PDF?

I am using windows 7 X64. I have installed Adobe Acrobat, so that I have a virtual PDF printer. I have also install the adobe flash player on the system. I open the SWF file using the flash player, ...
0
votes
0answers
35 views

Batch file or script to telnet to multiple hosts, log initial output then close and test next host

I have a large list of IP addresses from a database that I need to sanitize and determine which type of host (it'll be one of 2 device types) each IP address relates to. Is there a way of using a ...
0
votes
0answers
15 views

How can I run multiple sets of pipe-linked commands in parallel?

I want to run several sets of tasks connected by pipes in parallel like so: app1 "input_file_1" | app2 > "output_file_1" app1 "input_file_2" | app2 > "output_file_2" ... What is the cleanest ...
0
votes
0answers
14 views

Batch Printing PDF's with Multiple Sizes

I am trying to batch print files that vary from letter, 11x17, and 22x34 paper size. The problem I am having is I cannot make the printer print on varying sizes of paper during the batch print. I ...
0
votes
0answers
18 views

How can I batch resize PDFs on OSX?

I have multiple PDFs, each at A4 size, and I need them all to be resized to A5. I don't want to lose any image quality / resolution, I just want the page size to be changed. I can resize an ...
0
votes
0answers
44 views

Unzip .gz file in windows batch script using 7zip

I have 7 zip installed on windows machine. I have to extract .gz files into .txt files. I am not able to find a suitable command to do that. I tried below : 7za e ...
0
votes
0answers
17 views

How can I batch convert all of my video files to AAC audio without converting the video?

I've used XMedia Recode to do this and it works great. I set video to "copy", audio to "convert", and it takes 2 minutes for a 2GB file. There's two problems with it for batch work though. It doesn't ...
0
votes
0answers
37 views

VLC Batch file playback

I'd like to be able to run a batch file from my computer that does the following: Open VLC Play a video file until it said file ends. Stream webcam (dshow://) whilst playing a sound file only after ...
0
votes
0answers
42 views

Ampersand & special character on a Active Directory Name and CMD commands

I have a group that part of its name contains an ampersand & I am trying different commands for example dsquery group -name A&I-group but it does not work I tried escaping it using the ...
0
votes
0answers
79 views

Set Windows 7 to “Performance optimized” under Visual Effects with Batch script

I have this .bat script to start a specific game: @echo off if not "%~1"=="p" start /min cmd.exe /c %0 p&exit start "" "GTAVLauncher.exe" timeout /t 60 /nobreak >nul taskkill /f /im ...
0
votes
0answers
31 views

Term service will not start

I just reinstalled Windows 7 professional and the first and only thing I did was run these in the command prompt to enable remote desktop: reg add ...
0
votes
0answers
21 views

netsh wlan will not show computers on network

I am using the following command to create a WiFi Hotspot: netsh wlan set hostednetwork mode=allow ssid=SSID_NAME key=PASSWORD netsh wlan start hostednetwork pause There is just one problem though, ...
0
votes
0answers
25 views

Robocopy won't work with Task Sheduler in Win7

I need to copy file from server to local disk cca every 5 minutes. Created batch file work fine but from Task scheduler it does nothing. The Batch file looks like this: ...
0
votes
0answers
44 views

Running Batch files when a Pop up message appears from another app

I need to run a batch file when ever a particular Pop up message occurs. Basically I have a batch files, but I cannot directly call it from my application. but I can create a Pop up message from my ...
0
votes
0answers
25 views

Why isn't XCopy command working in batch file?

I am trying to run a simple xcopy batch script but I am facing some difficulties. Here is the script; SET SRC=C:\FOLDER1\FOLDER2 SET DEST=V:\FOLDER1 FOR /D %%d in (%SRC%\*) do xcopy /S /I /y ...
0
votes
0answers
56 views

How to append output from sqlcmd argument to txt file?

I am 100% new to batch files, so bear with me. sqlcmd -U %username% -P %pw% -S ServerName -d TableName -i "%%G" >> output.txt This doesn't work. It works fine without the >>. The error ...
0
votes
0answers
42 views

batch script to list local hard drives and then do a dir command on each drive

I tried to make a script following this topic "batch script to find drive letter of a mounted device" With help of one stackoverflow user we got the script running. This is the script: @echo off ...
0
votes
0answers
78 views

Windows Batch file nested IF statement running both IF and THEN

Not sure why this nested IF statement won't work right. I can't find any issues with it. The Last code block actually works properly, not sure why the first one doesn't. The first script is running ...
0
votes
0answers
18 views

Scale multiple DXF CAD files in AutoCAD?

I have a few thousand DXF CAD files that need to be scaled from imperial (inches) to metric (millimeters). The scale factor is fixed. Is there a way to scale all these files in batch via AutoCAD ...
0
votes
0answers
27 views

Command works in C:\ But not in Users

I am working on a backup program before we image users computers and I want to search for certain types of files. for /r /d %a in (*) do @copy "%a\*.png" "%usr%\file\pic" < All It works great ...
0
votes
0answers
23 views

Script will not continue

I have a batch script that deletes a folder but if the folder cannot be found, then the script stops. I am using the follow command: rd Folder anything underneath that command is not executed if ...
0
votes
0answers
35 views

METADATA_BLOCK_PICTURE header for vorbis ogg. How to batch (windows cmd.exe) or rebol create it?

I have searched the web with no success :( Is there anybody out there able to help with a working example on how to create the header for the METADATA_BLOCK_PICTURE for vorbis ogg ? (batch (windows ...
0
votes
0answers
75 views

Windows Shutdown Times (hour-minute), how can I know - Is there any small batch file or something similiar for this?

I used to learn the Windows Shutdown times from event viewer - however in windows 8.1 as you may be aware there is no full shutdown. So I can not view the system shutdown time. But I do not want to ...
0
votes
0answers
35 views

Batch change txt with constant input but variable output

I have a text document with 364 words. And i would like to save every single word from this document as a separate .svg image. So as end result I would like to have 364 separate .svg files with each ...
0
votes
0answers
45 views

Computer does not stay awake after scheduled task

I have a scheduled task that wakes up the computer to run a batch file. However the computer turns back off after some time. I have my computer set to (never sleep) so after waking up from the task it ...
0
votes
0answers
32 views

Pop up notification on system tray when a new file added to a directory

How will I add a pop up notification on my system? Let's say I have a directory wherein everyday I have a batch process running and keeps on adding files to that directory? How will I add a prompt so ...
0
votes
0answers
30 views

windows batch iterate over files rename with 0 padding

i've been trying to make this little script. i basicly want to ask the user for a name, and then on that directory i rename all pngs to name+number, where the number is just a simple 3 digit iterator ...
0
votes
0answers
28 views

Win 7 Desktop Won't Wake From Sleep

This is a somewhat common issue according to Google and I've spent the past 3 days testing/debugging and trying everything I can find online. But, I haven't been able to get my PC to wake up on a ...
0
votes
0answers
44 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
94 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
63 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
71 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
88 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
49 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
47 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
16 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
33 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
128 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
126 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
33 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
308 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
55 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
172 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
20 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
47 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
22 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
56 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
80 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
30 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
152 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 ...