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
2answers
805 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
369 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
887 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
1k 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
306 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
5k views

(Batch) convert a BMP to a PNG with transparency

I have +- 500 .bmp's that I would like to convert to .png's. It would be especially nice if the color white (#FFFFFF) of the original BMP's could be converted to transparent in the .png's. PNG-8 is ...
1
vote
2answers
211 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
3answers
44 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
61 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
221 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
96 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
87 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
264 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
2k 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
6k 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
10k 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
366 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
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
145 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 ...
-1
votes
3answers
231 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
3k 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 ...