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

2
votes
2answers
2k views

Clear Recycler on C: with Command Line

I'm looking for a simple Batch which clears all files/folders in my Recycler on Volume C: and under Windows 7 x64. DEL C:\Recycler\*.* I thought this is a good try, but no success. The way over ...
0
votes
3answers
5k views

Set TEMP & TMP on Current User through Batch File?

I am in an IT lock-down situation so I have limited access to things. I am trying to run the latest version of Portable Google Chrome 6. It won't let me install extensions and I think it's because I ...
24
votes
11answers
94k views

Populating Array in DOS Batch Script

How can I setup an array variable in a DOS batch script? I would like to load it with a list of file names to process. I really would like to keep this as simple as possible. Thank you.
1
vote
1answer
406 views

Batch AVI encoding (xVid/mp3)

I'm looking for some way to batch-encode Uncompressed AVI (with PCM audio) videos recorded with my digital camera. I've been using VirtualDub, but I can't find an automated/batch way to do it. I ...
0
votes
2answers
166 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 ...
2
votes
2answers
3k views

Batch script to batch rename files or use a tool? [duplicate]

Possible Duplicate: How can I mass rename files from the command line? i have some folders of files i want to rename. the general structure of the file is /root /module 1 /chapter ...
3
votes
3answers
6k views

on Windows XP, how can I remove (NOT hide) a system tray icon without closing the process?

So I leave uTorrent running on the system tray when I go to work, but every time my brother gets on the pc he closes it. So by the time I get back I've lost 7-8 hours of download. Most infuriating. I ...
3
votes
2answers
4k views

How do I add “edit” or “open with” to the context menu for .bat files in Windows Explorer in Windows 7?

I've tried this by mucking around with "Set Associations", but all I've accomplished there is messing up the default Open action. I've also found a bunch of registry scripts attached to random forum ...
5
votes
1answer
404 views

How to prevent command line wildcard processor from evaluating short file names

I'm developing a batch file within which I'm using the following pattern: *.res I want to select all files with the extension .res, but this pattern is matching files with an extension of .resources ...
2
votes
2answers
1k views

Is there a program to reboot to safe mode

I'm looking for something like Bootsafe but with option to be run silently. Anyone aware of such utility or any special command to be run?
1
vote
1answer
66 views

Trouble with macros

Recently, at work, the program that we have used for years has drastically changed and all of our old file types are no longer supported. This has left us completely out in the cold as to how we can ...
1
vote
4answers
1k views

I want to have a batch file which run a executable file,but write some commands automatically

I want to have a batch file which run a executable file(Test.exe). when test.exe is called it would open a command prompt environment.On this stage i want that some defined command(s) automatically be ...
1
vote
2answers
698 views

issue on EPSON printer (Dot Matrix Printer)…?

our EPSON-DOT MATRIX printer. not printing on DOS command Type text.txt>prn text.txt file..?? But - it prints on open TEXT.txt>File>Print - it works perfectly.
1
vote
0answers
717 views

Gimp batch processing on the Mac?

I am looking for a way to batch apply auto-brightness, auto-contrast, and a dash of colour correction to a pile of images with Gimp. I found a the David's Batch Processor (DBP) plugin but can't ...
0
votes
1answer
204 views

Program in batch file reading old version of newly altered file (XP)

I have a normal batch file, running on XP. First, program A apends data (a string) to the end of file X.dll (on the server). Then program B opens the file, and looks for the data. However, sometimes (...
0
votes
1answer
8k views

run exe format in batch file

I want to make a batch file,which run 3 executable file respectively: A.exe B.exe C.exe P.S: A.exe gotta finish its job then batch file go for B.exe and finally C.exe
1
vote
1answer
3k views

.bat file: only the first line is being executed - why?

I have the first .bat file, down.bat, for downloading movie trailers from apple.com: C:\wget.exe -U "QuickTime/7.6.2" %1 And I also have this second file, batch.bat with all the trailers I want to ...
2
votes
2answers
288 views

Script or util to remove old backups

I'm creating a backup strategy for a sharepoint server I'm setting up. Have got a backup running daily. In the long term I'd like to keep: Daily backups for the last week. Weekly backups for the ...
22
votes
8answers
10k views

Determine if command is recognized in a batch file

I'm writing a bat script in which I invoke a program (such as javac). For simplicity, I want to check if the command exists before I run it. i.e. If the command exists in PATH. For example, if (...
3
votes
3answers
2k views

How to delete gpg secret keys by force, without fingerprint?

It's accident generated a bulk of secret keys (without public key) in the GPG key ring, and I have written a script to delete those keys, but GPG doesn't allow me to do that: $ gpg --batch --yes --...
0
votes
1answer
810 views

Batch converting video from avc1 to xvid

I need a way to batch convert 720p video files from avc1 to xvid in Ubuntu 10.04. I'm not terribly concerned about file size, but I do wish to retain the picture quality as much as possible. I believe ...
2
votes
3answers
1k views

how to move multiple files using cmd/batch

How do I move files from C:\wamp\bin\mysql\mysql5.1.36\bin to C:\windows\system32 So that I could automatically use mysql commands without setting the paths.
2
votes
1answer
51 views

Modify Audit object acces policy

I'm trying to automate this step on a local network that's not included in a domain. I've tried using auto-it but had little luck with that. Is there any way of doing this using a batch script or ...
4
votes
3answers
9k views

Is there a way to Batch install multiple applications with different installers?installer

Is there a way I can install all my applications in windows at one time? eg, I want to install microsoft office, then mozilla firefox, then some other apps. I'd like to be asked my preference settings ...
1
vote
1answer
489 views

Automated backup to JungleDisk-RackSpace cloud

It's quite complicated. (Okay, not that much.) My father is a person who likes the old way, where you store stuff on DVD, BD, HDD. Sad thing that I can't afford a NAS, they just cost way too much. ...
3
votes
2answers
3k views

Is there a free batch .doc to .pdf converter out there?

I need to convert roughly 200 .doc files to .pdf. I know Microsoft Office and Open Office can both save to .pdf, but I do not want to do this manually. Does anyone know any FREEWARE apps that will do ...
2
votes
1answer
990 views

robocopy can’t find newly zipped file for copy

I am working with a batch file that is being used to copy files from several remote servers to one central repository using robocopy. I am trying to zip the contents of a folder and then copy it but ...
2
votes
2answers
2k views

Any free pdf to xps converter or pdf batch printing program? [closed]

Any free pdf to xps converter or pdf batch printing program? I need to print a bunch of PDFs, but program I'm using, Sumatra PDF, while very fast has troubles printing and files themselves seem ...
2
votes
2answers
2k views

How can I do a text find and replace with a standard batch file?

Without any additional tools, using just the command line that comes with Windows 7, how can I create a batch file that will perform a file and replace of some text in a file?
0
votes
5answers
2k views

Open multiple applications sequentially via Window batch file

To test an SSD RAID setup I would like some way of scripting the sequantial launch of a number of programs. How can I do this? With a Windows batch file I can only either open all at once og wait ...
1
vote
0answers
763 views

Retrieving a registry variable in a batch script

I wish to write a batch script (windows XP) that extracts certain installation paths from the registry. How would one go about writing such a script? I have written the following - I am (as you ...
4
votes
3answers
30k views

Batch script to launch an application

I've a simple batch script npp.bat to open a file in Notepad++ "C:\Program Files\(x86)\Notepad++\notepad++.exe" %1 Notepad++ launches with the file when I run npp <file_name&gt> but the ...
30
votes
8answers
99k views

Get current folder name by a DOS command?

Is it possible to get the current folder name (not current directory path) by using a DOS command? If so, how? The closest I got was this but it doesn't do it: for /f "delims=\" %%a in ("%CD%") do ...
0
votes
3answers
863 views

Renaming a file using a batch program in Vista/7. Problem with administrator access

I have a batch file that renames a file in a folder using: rename filename.exe filename.bac This works good in Win XP. But in Vista/7, if the batch file is run under Program Files/ it does not ...
2
votes
1answer
1k views

PHOTOSHOP - combining 300 PNGs with the same background

I have 300 PNG images with transparency and one background image. All have the same size. I need to combine each of the 300 PNGs with the background and save as a new PNG. So, I need to create 300 ...
2
votes
3answers
865 views

Batch image resizing and rotating on OS X? [duplicate]

I'd like to resize a bunch of images of variable size to be 720 by 480. Furthermore, I'd like to have the final image be rotated so that it is right side up. Any tools to help with the resizing at ...
38
votes
10answers
33k views

Renaming many files in Mac OS X, batch processing

I used to rename file in Linux via a rename command: rename 's/old_pattern/new_pattern/g' *glob Is there something similar in Mac OS X (Snow Leopard)?
21
votes
1answer
15k views

does %* in batch file mean all command line arguments?

does %* in batch file mean all command line arguments?
0
votes
1answer
636 views

Enter network credentials as part of batch script

WinXP: I have several system services that are needed to run some machinery in my lab. The machine these services are running uses a lab login that has administrator rights. Our IS department, ...
1
vote
4answers
598 views

Why does 'find' print forward slashes?

I have the following command: find Acc*\bin\Debug\*.pdb > temp.txt Looking in temp.txt, I have: Accounting/bin/Debug/Accounting.pdb Accounting/bin/Debug/BackendProcess.pdb Note the forward ...
3
votes
3answers
3k views

How to change the extension of all selected files at once?

Its possible to rename files all at once. But its not possible to change the extension of selected files all at once. If windows doesn't support this facility .. then is there any batch script or ...
1
vote
5answers
5k views

Rotate PDF document

We have created thousands of PDF files that are printed as a label on a special label printer. Printing these labels is ok, but some of the label paper are quarter turned and the PDF are printed ...
0
votes
1answer
424 views

How to write a batch file to delete subfolders less then 10MB?

I have a folder, "myFolder". In "myFolder", I have many subfolders. I know that if the subfolder is less than 10MB, it can be deleted. Instead of checking the folder step by step, how can I write a ...
2
votes
1answer
282 views

How can I run this batch file?

This is the batch file: OSQL -S 127.0.0.1 -U sa -P password RESTORE DATABASE DATA FROM DISK = C:\backup\data.dat GO EXIT But after I run the OSQL -S 127.0.0.1 -U sa -P password, the command prompt ...
0
votes
2answers
268 views

Batch strip portions of a filename in windows 7

In windows 7, i have a ton of files that have unnecessary prefixes and postfixes to their filenames. How can i, using some form of batch tool, remove them? ren didn't work on the command line.
2
votes
2answers
183 views

Is there a way to save “work sessions” in linux

I regularly work on different projects, using different software. For project 1 I need to open for ex : Filezilla, Gedit and Nautilus (set to a specific folder) For project 2 I need to open foz ex : ...
7
votes
4answers
16k views

Batch file for Windows7 32 and 64 bits

I need to build a batch file for Windows 7. This .bat file is just for installing an application. The issue is that I need to know if Windows 7 is 32 bits (and then run a 32 installer) or if it is a ...
1
vote
1answer
208 views

IF commands in a batch file

I'm writing a small batch file to replace users' themes and charts in Office. I have the below batch file that works just fine. cd c:\documents and settings\%username%\application data\microsoft\...
8
votes
2answers
677 views

How to test thousands of MP3 files whether they're playable?

I just managed to recover lots of mp3 from a bad HDD. Is there a way to test all these files if they are playable? I don't want to hit next a few thousand times.
1
vote
5answers
22k views

Batch script for unattended install of a software

I've got a few programs i need to install every time i reinstall a computer office 2003 Pro office 2007 compatibility pack Adobe acrobat Adobe flash but i hate to do this every time on every ...