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. Please use the tag [batch-file] for that.

learn more… | top users | synonyms

1
vote
5answers
1k views

Batch script halts after Thunderbird is opened

I want to be able to open Thunderbird from a batch script in Windows. I can do it just fine from command line: C:\>"C:\Program Files\Mozilla Thunderbird\thunderbird.exe" If I create a batch ...
6
votes
4answers
2k views

Does Windows Move command delete the file only on successful completion?

This may be a stupid question, but I'm erring on the side of caution here. If I'm using Windows command line/batch files to Move a file from one server to another and we have a network failure, what ...
2
votes
2answers
4k views

How to list all 'at' jobs without root privileges?

For listing jobs added by at and batch I use atq, but it lists only my jobs. I can run atq with root privileges and then it lists jobs from all users. How can I list all jobs without root privileges?
26
votes
8answers
113k views

Running bat file at startup as administrator in Windows 7

I'm currently running a startup script in form of a bat file successfully in Windows 7 (I've inserted a new registry key entry with the bat file path as value in Computer\HKEY_CURRENT_USER\Software\...
3
votes
3answers
1k views

Task scheduling Batch Files in Vista

Wondering if there is some trick to scheduling a batch file to run in Vista. I have tried almost every setting/arg I can think of with no result other than an error, or the command window opening ...
4
votes
5answers
5k views

How to join MP3 files? [duplicate]

Motivation I'm looking for a program that allows me to join a lot of mp3 files (an audio book) to a single large mp3 file. My mp3 player is able to remember the position inside a track, but it takes ...
9
votes
7answers
34k views

Do something every 10 seconds batch file

I have a batch file: arp -s 192.168.1.254 xx-xx-xx-xx-xx-xx ipconfig /flushdns How can I do these two commands on Windows XP, every 10 seconds?
1
vote
2answers
3k views

Windows Command queue?

I'm thinking if does exist some kind of software that can put in a queue a bunch of windows commands. For example I can say to first copy some file somewhere, then rename those, then delete the old ...
2
votes
1answer
118 views

Manually Backing Up Locked-down Outlook 2003 SP3

My work has a terrible implementation of NTLogins, Profiles and Outlook 2003 Service Pack 3. Everyday I have to change move and chose all kinds of stuff. I did some digging and found where some of ...
1
vote
3answers
2k views

sending mesage via net send to another pc

I am trying to send a message to another pc on my company network. I do it like net send pc14.name.com "my msg" but i get An error occurred while sending a message to PC14.NAME.COM. The ...
54
votes
17answers
231k views

Run a batch file in a completely hidden way

I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..). I don't want to use some program to do that, I'm looking for something ...
5
votes
5answers
15k views

Get custom date format in command in Windows 7

I'm creating a backup script in a .bat file in Windows 7. As part of the script I create a log file. I'd like to create the log file with the following date format: YYYYDDMM_HH24MISS_backup.log Any ...
5
votes
4answers
42k views

How do I add a standard TCP/IP printer port from a command line?

Is there a way to use Rundll32.exe tcpmonui.dll,LocalAddPortUI from a command line to add a standard TCP/IP port for a printer? Or any other way to add a standard TCP/IP printer port from a command ...
1
vote
3answers
778 views

Creating Apple iPhone/iPod-Like Icons

What is the best way to create apple iPhone/iPod shaped icons, ideally there should be a website that you can upload images to and have an them shaped to the default shape, etc. Does this exists? ...
0
votes
1answer
10k views

Batch File: Hide Ping test results

I'm making a batch file that tests a Computer name and sees if it responds. However when I run it, even with the "@echo off", I still see the reply being sent and so on. How can I hide that?
1
vote
2answers
3k views

Prevent extra space when setting variable on Windows command line

When setting a variable like this: > set foo=hello && echo test then the value of the variable foo contains an extra unwanted space: > echo "%foo%" "hello " How do I prevent this ...
1
vote
2answers
8k views

Command to run an application with Administrator privileges, but NOT AS administrator (prompt with UAC)

I want to start Notepad with elevated privileges to edit C:\Windows\System32\drivers\etc\host. Notmally I would type notepad in the search box, and with the program highlighted hot Ctrl + Shift + ...
23
votes
10answers
53k views

Can a mapped network drive be reconnected from the command line?

On a daily basis I find myself in the Windows command prompt needing to access a network drive that is mapped but disconnected. I have yet to find a command that will reconnect this drive without ...
5
votes
2answers
14k views

FTP BAT file - Windows Scheduled Task

Is it possible to create a scheduled task in windows, that connects to an FTP site, and downloads all the files and folders within the root directory (or specified folders in the root directory) - for ...
3
votes
11answers
4k views

How to batch rename files copied from OSX to Windows with ':' in filenames?

This is really puzzling. I have lots of videos that were stored using Mac OS, and now I have to edit them on Windows XP. I copied files using HFSExplorer. Editing software refuses to open the files ...
37
votes
6answers
246k views

How do I make a batch file wait / sleep for some seconds?

I use a batch file to start up a few of the programs I need running in the background. Up until now, I had used the pause command to execute it after some of the other start-ups finished. I would ...
2
votes
1answer
299 views

Need to remove borders from multiple images

I have a few hundred family images and they were all sent to us with borders that I would like to remove. Thankfully the borders are all the same size of 20 pixels and they are all .jpg so this will ...
1
vote
2answers
2k views

reencode several videos with virtualdub?

I have about 50 small videos (and a few large videos). I want to convert them all with the SAME settings. Its basically change audio to X with Y bitrate, change video to xvid. and do full processing ...
4
votes
6answers
13k views

Batch file to copy folder structure

I want write a batch file that can copy a folder structure. This batch file would copy all folders in the source directory to the destination directory - the files themselves would not be copied. For ...
5
votes
5answers
11k views

Is it possible to eject a cd in a batch file on Windows XP?

I've seen a few executables/utilities that do it, and many forums that say it is not possible to do. But is there any DOS command that I can rely on in a typical XP installation?
0
votes
1answer
3k views

How can I batch-extract ID3 lyrics metadata from MP3 files?

I have a bunch of MP3 files (a few hundred) that have embedded lyrics. These lyrics show up when the files are played on an iPod touch, or in Windows Media Player with captions turned on. What I'd ...
2
votes
1answer
3k views

How to copy a text from one file into another file?

How can I copy the line of a text file (C:\dos\crusoe\src.txt) if the text meghana is in it, and paste the line into another file (C:\dos\crusoe\trgt.txt)?
1
vote
5answers
827 views

Batch convert divx to iPhone format

I am looking for free software to do batch conversions of divx video files to iPhone format. I have read the thread: http://superuser.com/questions/5784/looking-to-convert-video-to-iphone-format ...
3
votes
5answers
5k views

Free batch image watermarking software [closed]

I'm looking for a simple yet effective software to watermark a lot of photos in batch. I have to apply a transparent png watermark image on 400 photos. The program have to place the watermark at a ...
5
votes
3answers
14k views

Script to create folders in multiple directories using YYYYMMDD date as the folder name

At work every morning I have to create multiple file folders (using a YYYYMMDD date format as the file folder name) in different directories across our network for various departments. This is a real ...
2
votes
2answers
689 views

Batch download pages from a wiki without special pages

From time to time I find some documentation on the web that I need for offline use on my notebook. Usually I fire up wget and get the whole site. Many projects however are now switching to wikis, and ...
80
votes
12answers
52k views

How to supress “Terminate batch job (Y/N)” confirmation?

In cmd, when we press Ctrl+C we get the target application terminated but if the target application is called from a batch file, we get this "Terminate batch job (Y/N)" confirmation. I can never ...
6
votes
4answers
12k views

Batch convert .doc to .docx (and equivilent for other office formats)?

I wish to convert a large number of office files into the newer versions, eg. .doc's to .docx's. I need something for all of the difference MS office application filetypes. What is the best tool for ...
0
votes
7answers
790 views

Problem with dynamic IP-need a batchfile

My ISP provides me an internet connection with dynamic IP. when i need to change my ip i simply disconnect my dial-up connection using a bat file (rasdial "dial-up connection name" /disconnect) and ...
4
votes
6answers
27k views

How do I create an unattended installer for various applications in Windows?

I have had to reinstall my operating system today and there a ton of programs that I need to install, not to mention quite a few configurations to make after installing them! I heard some people are ...
0
votes
1answer
602 views

How to run a batch file to backup to VPN drive?

I have a VPN into a client and I want schedule a batch file that will do some file copying to backup some data. Problem is how do I automate to connect to the VPN if not connected and also unless I ...
1
vote
2answers
1k views

Is it possible to change the icon of a MS-DOS bat file?

I have a MS-DOS bat file that I have written. However, I am wondering is it possible to change the icon to something different?
1
vote
2answers
2k views

How can I delete files on a PDA using CMD/Batch file

A customer's users are using PDAs (HP iPAQ, different models) with a CRM-Tool on it. If the application and database need to be reinstalled there are some files in different folders on the PDA which ...
2
votes
1answer
2k views

Batch scan a lot of pictures

I have a lot of pictures to scan. Is it possible, using linux and xsane, to write a script so that the computer will keep scanning, giving incremental filenames to the resulting files ? I'd really ...
18
votes
3answers
9k views

VIM: What is the EX-mode for batch processing for?

The tutorial mentions that the Ex-mode is for batch processing. Since it is a nuisance, rather than a tool, for me, I would like to see some practical examples. Who uses it? Why? What is the EX-mode ...
24
votes
11answers
25k views

How do I batch change the date taken information in EXIF data?

I use F-Spot to manage my images. For one set of images, the dates somehow got messed up and they all are marked as September 1st 2007. I'd like to change the date taken information to a different ...
1
vote
3answers
1k views

Is there a free/cheap batch video watermarking program for Mac

I need to batch watermark a couple thousand video clips (avchd format supported would be great). Any ideas? I'm using OS X 10.5. Cheers!