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

2
votes
1answer
263 views

Batch Upscale ISO images

I have most of my DVD collection ripped to ISO (just the movie, not the rest) I have loads of storage space, but an underpowered PC running boxee. I'd like to convert all the ISO images into upscaled ...
1
vote
1answer
65 views

Windows Batch to read TXT and parse lines to CSV

I've made a good deal of headway by searching this site and learning the ridiculous language that is Windows batch scripting, but frankly I'm stuck. The sample below is from our lab's old radiometer ...
1
vote
1answer
181 views

Running a batch file command with arguments

I'm creating a script to do some repetitious OpenSSL work, but cannot seem to get the batch file to execute the commands. Once the file has navigated to the correct directory, I try running: openssl ...
1
vote
1answer
204 views

Batch Issue - Creating folders and Moving Documents

I’m trying to create a batch script in Windows 7 that will look at the first 6 numbers of 100s of pdf, create a folder based on the 6 unique numbers and move the pdfs into their respected folders. ...
1
vote
1answer
90 views

How can I recursively identify non-searchable PDFs and copy them to a folder?

Further to an earlier post which provided a script solution: From my question it may be possible to tell that I am a computer user and have no programming knowledge. I have hundreds of searchable ...
1
vote
1answer
493 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 ...
1
vote
1answer
670 views

Set environment Path Windows 7

Trying to add stuff to the system environment Path via batch, vbs or anything really. This used to work in a .bat, but has stopped: setx -m path "C:\addtopath;%PATH%" This used to work in VBS, ...
1
vote
1answer
578 views

Copy files and rename them by creation date

i have a few directories (1 level) that were added to my server in specific times. the problem is, they are named as a random hash. would it be possible to copy them somewhere and rename by the ...
1
vote
2answers
4k views

How do I open a random file in a folder, and set that only files with the specified filename extension(s) should be opened?

How do I open a random file in a folder, and set that only files with the specified filename extension(s) should be opened? (While preferably, supporting Unicode filenames too.) I've already looked ...
1
vote
1answer
9k views

Batch file script for Enable & disable the “use automatic Configuration Script”

My intention is to create a .bat file that toggles the check box of "use automatic Configuration Script" in Internet Settings. The following is my script @echo OFF setlocal ENABLEEXTENSIONS set ...
1
vote
2answers
888 views

batch command to store a folder name in a file in single line

I have a list of folders in a directory, i need to copy just all the folder name to a file and the file should be in a single line seperated by delims. can any help me with this in a batch file. ...
1
vote
2answers
452 views

Batch image program to replace 2 colors?

I have a lot of .png images, and I want to replace a color to another color.. Is there a batch program to do that? I'm on Windows 7
1
vote
2answers
935 views

Creating separate archives for a set of files

I have directory containing big list of files. I'd like to gzip each file of a certain mask to a separate archive. How do i do that automatically? For example here's sample directory contents: - ...
1
vote
2answers
2k views

How can I batch delete all files of a certain type in a folder newer than a certain date on Windows?

So Google Music decided to download about half of my uploaded music library to my local music library when I told it to download my purchased music, so now I have a bunch of MP3s I need to delete ...
1
vote
2answers
319 views

Remotely running batches on a Windows PC

I want to remotely control my home desktop PC (running Windows 7 Professional), mainly to perform the following tasks: Downloading email attachments, and sending emails with attachments Running ...
1
vote
2answers
2k views

CMD MOVE can't replace directories in WIN 7 [duplicate]

The MOVE command does not work when to ovewrite a directory. I have also tryed to run cmd with admin rights. I'm posting this question with more info so you can easily test it self. Make your own ...
1
vote
2answers
212 views

Cluster advice - batch instructions

I'm setting up a small cluster of 20 machines that will have to run a batch command. The batch will have some instructions then run a Java program that will crunch data for about 2h then return the ...
1
vote
3answers
1k views

How do I set up a desktop shortcut to a batch file which will run as administrator

I want the batch file to run and launch some programs, all of which need to be at administrator level.
0
votes
1answer
19 views

Command for sharing same folder with multiple names

I’m currently working on an improvement of our deployment process and I’d really like to automate one of the new steps. Through Windows UI I can share the same folder on the network under multiple ...
0
votes
1answer
79 views

Check whether FTP upload is successful or not using batch?

I am running below code in my ftpUpload.bat. If file is not uploaded to FTP server it should print "FTP upload is failed" but I am getting "FTP upload is successful" for both cases. What change I need ...
0
votes
2answers
135 views

Batch Script: Concatenating multiple files in multiple folders into one file

I have about 20 folders and all of them have around 100 csv files each. I want to combine all of them together into one file. How should I do this? I know about copy command to combine files of one ...
0
votes
3answers
65 views

I want to rename the bulk files and folders at single time,how I can do this with batch scripting

I want to rename the bulk files and folders at single time,how I can do this with batch scripting I have the code for only to change either file or folder,not both @echo off SETLOCAL ...
0
votes
1answer
69 views

Windows batch equivalent of “command” in linux bash

In linux bash there's a command command which can execute the "real" command even if you have a function name or a script filename that is named equal to that command. function ping(){ echo do ...
0
votes
1answer
299 views

Batch converting MP3 and still image PNG to MP4 videos

What do I type in the Windows cmd for this to work? I found a code that should work on Linux but I'm on Windows. The Linux code is: for mp3 in "*.mp3"; do ffmpeg -f image2 -loop 1 -i picture.png ...
0
votes
1answer
49 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
53 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
1answer
106 views

How to associate a file extension to be opened with a batch script?

I want to get rid of OSPPSVC (Office Software Protection Platform Service). Then, I have replaced the links to open Office programs with a link to launcher.bat: @echo off title Launching Office... ...
0
votes
1answer
104 views

Is there a command that allows me to set a prefered IP Address for an adapter? [duplicate]

I've got some customers who should use a specific IP in their network adapter, but manually setting it is a pain sometimes. So I would like to know if there's a shell command / batch that allows me to ...
0
votes
1answer
321 views

Build a user's profile directory on creation in batch

I have a batch script that I use when I set up new Windows 7 PCs that creates a user based on a variable, creates a folder on their desktop, then shares it: @echo off SET /p unitnumber="Enter ...
0
votes
1answer
3k views

How do I use a batch file to recursively replace a string in files?

In my SQL files, I have hardcoded the C:\ directory into all the output file paths, but there are times where the client wants to have the outputs stored on E:\, for example. How do I go about doing ...
0
votes
0answers
2k views

.bat runs from command line but not when scheduled

I've got a 1-line batch file that runs a pantaho etl job. It works fine when I run it from command line or gui, but the process doesn't even start when it's scheduled. I have the following settings: ...
0
votes
3answers
7k views

pscp is not recognized as an internal or external command error

I have a batch file with a query like pscp .... written in it. When i try to run that file an error pops up saying pscp is not recognized as an internal or external command, operable program or a ...
0
votes
1answer
11k views

Batch file to copy files from desktop location to another location?

I want to Copy/Move files in Windows XP from Desktop(a Folder) to My Document(another Folder), which was created by same Batch File on Current Date in Format DD/MM/YYYY. This is working fine when ...
0
votes
2answers
85 views

Batch File Transfer addon

I made a Batch file that allows me to move files to one hard drive to the next hard drive. There is just one thing I would like to add to it. I want the CMD to prompt me to what user account its ...
0
votes
1answer
2k views

Launch a program when another program opens

I would like a method for starting a program when another program starts. Specifically, I’d like a to open a MS Word document and have my citation manager open simultaneously (EndNote supports this ...
0
votes
1answer
447 views

Photoshop batch process pausing on every action

I recently upgraded to Photoshop CS6 and imported my actions from my previous version. I am trying to run a batch script to automate an action. Every step seems to require a input click. In other ...
0
votes
3answers
9k views

Rename files in a batch file

I want to rename file1 to file2 using a batch file in Windows 7 but with no luck. Below is the batch file: @echo off c: cd\test ren file1 file2 Error message I get is syntax error. Update to ...
0
votes
2answers
5k views

How to launch shortcuts to a Virtual PC “XP Mode” application in a batch … successively?

First of all, I'm French, so forgive me my English (the dictionary is my friend) ... Here is my problem : I have some trouble with a batch file to launch two virtual applications successively ... ...
0
votes
2answers
152 views

Multiple directory file operations

In windows, I would like to use some sort of batch file to unzip files on multiple directory at once. For example : Initial directory --Foo1 ----file1.zip --Foo2 ----Foo2.zip ...
0
votes
2answers
4k views

Visual Studio 2010: Is it possible to force editor to use ANSI rather than UTF-8?

I am having issues with some files in automated processes, specifically with batch files and sql files. Visual Studio seems to create these as UTF-8 rather than ansi and adds some kind of special ...
-1
votes
3answers
325 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 ...
-1
votes
1answer
5k views

'sqlcmd' is not recognized as an internal or external command

(I know this isn't really meant for here, but I can't ask questios on Stack Exchange) I'm creating a batch file and I get this error message: 'sqlcmd' is not recognized as an internal or external ...