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
1answer
29 views

Batch APPEND (RENAME) a specific keyword to set of files

I have few files namely - "a", "b", "c",etc.. I want to add the keyword: ".mov" to all files in that folder. Please suggest me an approach which script will be best suited for this - AppleScript, ...
0
votes
0answers
17 views

Change a part of a filename with random numbers

In my work i need to rename a filename everytime i want to do a server test, for example SAMO8608157H6AA1D15261.dec, i do need to edit the "1526" part in to the next digit or random number respecting ...
1
vote
1answer
47 views

When applications are slow to launch, how quickly is the process registered as running?

I'm looking at a problem with a java webstart kiosk app of ours. I occasinally get a support ticket saying that multiple instances of the app were found running at once on one PC. This causes problems ...
7
votes
2answers
726 views

Weird characters (´╗┐) at the start of a batch file

I am working with batch files in Windows, using both Notepad, and Notepad++. When I run the batch files, which all start with @echo off, I see the first line (when running on two separate machines) ...
0
votes
2answers
100 views

How do I concatenate files using a list and batch?

I need the equivalent of the shell command xargs < list.txt cat -- > compiled.txt as a Windows batch file. There is a directory full of text files (about 50 to 500 files) that I need to ...
0
votes
2answers
38 views

how to test empty parameter in a for /f loop

I'd like to read the current monitor resolution and set an environment variable. This works in WinXP, but not in Vista because wmic adds a newline at the end: FOR /F %%L IN ('wmic desktopmonitor get ...
1
vote
0answers
26 views

sending keypresses to a process using nircmd

I'm trying to use nircmdc to send a keypress to a background process (without bringing it to front). More precisely, i'm tring to send Ctrl+Shift+S to notepad++.exe: nircmdc win postmsg process ...
0
votes
3answers
84 views

Batch Renaming files (and possibly switching parts of the name)

I am organizing 60,000+ images, and need to edit down their names. I would love to just do a batch rename, as this would likely take 60+ hours otherwise. The names are similar to what follows: ...
0
votes
1answer
42 views

Batch file to open 4 or 6 internet explorer screens and place them by dividing the desktop equally

I intend to write a script that can open 4-6 IE screens that can be automatically be placed on the desktop. So essentially all of them will get equal space on the desktop. I am aware of the command ...
0
votes
0answers
40 views

Batch script to mass rename by modify date

I'm trying to make a batch script to mass rename files by modify date and time of each file. I'm new at this and searching since this morning and nothing lead me in the good way. SHould I use xcopy, ...
-1
votes
1answer
54 views

Batch file to copy files from server to desktop according to date

I will explain what I´m trying to get up and runing. I have a folder on the server containing several subfolders and zip archives in those folders. The string of the server is like: ...
-4
votes
2answers
46 views

Is it possible to “reverse” a remote computer access session? [closed]

For example: I want to bait a scammer into accessing my throw-away computer, then flip the connection around so that I'm now accessing THEIR computer so I can wreck their scamming operations.
1
vote
1answer
30 views

Batch convert of Word docs with images to HTML

OK, here is my situation: I made a knowledge base for a company, they have about 500 word documents with screenshots in them explaining procedures and such. I can easily paste the text into the cms ...
1
vote
1answer
18 views

Autofix file extensions based on content

Is there an app/script what will peek at file content and try to guess the correct file extension? I have a bunch of files recovered from a backup and it's a mix of images, videos and documents. The ...
1
vote
2answers
85 views

How do I get 64 bit %ProgramFiles% in batch file that is run from 32 bit application?

Problem is that in my case, a batch file run from 32 bit application have %ProgramFiles% expanding to "C:\Program Files (x86)".
1
vote
1answer
76 views

Batch copy gives errors, xcopy works fine

I am writing a general file backup program. It searches the drive for files matching a set of types and then writes them to a folder on the desktop. I wrote it using xcopy on Windows XP but upon ...
-1
votes
1answer
25 views

Is there a way to read a simple one line asp page using a batch file?

I have a simple asp page in which i write an ip address, and nothing more. Now i need a batch file to read the contents of this page and pass it to a variable. I'm not good with batch files but ...
1
vote
2answers
78 views

Batch Capture incoming Netstat IPs as variable

I'm trying to figure out if there is a way I can capture (and if possible, log) the ip addresses displayed from 'netstat' command. I'm trying to make a script that waits for a ping from a specific ...
0
votes
1answer
837 views

Sending input to command line program from text/Batch file

I am a mechanical engineer with some hand on Programming in VC++. Our industry uses a DOS program & that requires 8 user inputs. We have to feed it manuaaly every time. Does we can automate this ...
2
votes
2answers
129 views

Using wildcards with the rmdir or rd command

Let's say there are some folder in the D: drive: D:\Air D:\Abonden D:\All D:\Whatever I want to delete all folders starting with "A" (including all subfolders and files). I tried this command: ...
0
votes
3answers
160 views

Handbrake: How to batch convert videos including resize?

I am using the latest Handbrake v0.9.9. I would like to batch convert 200 video files from format 800x600 to 640x480. The problem is, if I add the videos to the Queue (clicking on >Source >Folder), ...
1
vote
0answers
285 views

Running Batch file from servers network share - using servers local user account

I am trying to create a script that could be run from servers network share and promt me to type servers local username and password as credentials. So, .bat file is located at ...
1
vote
1answer
46 views

batch converting from XLS to windows CSV on a mac

I'm using OS X and have lots of these XLS files that I need to format as a batch operation. I need them in "Windows CSV" format, but I can only seem to get them batch converted to Mac CSV... I am ...
8
votes
2answers
796 views

How do I make a batch file be able to run on other computers

When I create a batch file on my computer to execute start c:\Users\________\Whatever\..., it works on my machine. How can I get it to work on someone else's machine, since their username isn't my ...
0
votes
1answer
215 views

7z in batch file with variables “Incorrect command line”

I'm trying to run the following batch file: set HH=%time:~0,2% set HH=%HH: =0% IF %time:~0,2% GTR 5 ( IF %time:~0,2% LSS 21 ( FOR /F "TOKENS=1 DELIMS=:" %%A IN ('TIME/T') DO SET HH=%%A XCOPY ...
-2
votes
1answer
51 views

How to Copy files and folders from one network share to another

I have a file in one network shared folder \\170.23.23.34 and i want to copy the files to another share \\170.23.23.36. What should be the batch script for the same.
1
vote
2answers
51 views

How to kill a process based on the partial content of its window title?

I start a command window with a similar command: start "DUMMYCOMMANDWINDOW" I can then close the window using this command: taskkill /FI "WINDOWTITLE EQ DUMMY*" /f /t What I'd like to do, ...
0
votes
1answer
175 views

How to batch multiplex audio and video track files with ffmpeg

I think that everybody knows that problem about downloading 480p & 1080p videos from Youtube, and that the only way available for many Download programs is to download the Video and Audio Tracks ...
0
votes
1answer
29 views

Kill all internet explorer's belonging to the current user

What's the proper way to shut down all of the instances of internet explorer for the current user using batch commands? I have this. There can be multiple users logged into the same computer. What am ...
0
votes
0answers
148 views

CMD/ADB - Autorun script to search, copy, and paste a file from android system to flash drive

I've looked around and can't find anything that answers my question. This is my first question, so any tips or thoughts are welcome, as well as an answer :p As explained in title, i want to create a ...
0
votes
2answers
157 views

Add registry key entries using batch file [duplicate]

How to add the below keys using pure batch file? [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Server] "DisplayName"="Server" "DisplayVersion"="1.2" ...
0
votes
0answers
52 views

How to make Batch file to give a message when exiting?

Code: @echo off start /wait /b echo hi > message.txt pause exit When you click the batch and type exit, you the message saved. My problem is, if you exit by click " X " button, then no message ...
-2
votes
1answer
57 views

Batch file to check the size and print the outout

I am trying to make a batch file that will check the size of f1.txt file. If the size is 1118, then "No Changes" will be displayed. If not, it will display "The file has been changed." @ECHO OFF set ...
1
vote
1answer
30 views

Resize/crop multiple files while preserving certain areas?

I have 176 JPEG images that are 450x800 in size, and was wondering if there was a way to essentially resize them, but while preserving their content in certain areas (currently I'm only hoping for the ...
1
vote
1answer
30 views

How do I convert a batch of audio files on Windows?

I have a folder structure like this: -dir1 -subdir1 -subdir2 -file1.wav -file2.wav -dir2 -etc... Inside the folders are thousands of audio files that need to be ...
0
votes
0answers
40 views

Photoshop batch generating all variants from 4 basic modules

I have 4 different modules: Hat, gloves, t-shirt and coat. I have different variants in hats (black, white, and blue), different variants in gloves etc. Each variant has a picture (transparent png, ...
3
votes
1answer
158 views

Creating a batch OR .bat file to linearize and merge PDFs using QPDF.exe

I am trying to create a batch OR .bat file that will linearize MULTIPLE PDF files. I already have a script I commandeered that uses PDFTK that sends PDFs to the 'sendto' folder where they are ...
1
vote
1answer
74 views

Remote Registry with alternate credentials from the command line

Sometimes, when I'm teleworking from my personal laptop, I run into problems with my SmartCard reader while trying to connect to systems that are configured to enforce SmartCard usage. The usual ...
0
votes
1answer
69 views

Window Batch file - Current folder name gets truncated

On my Win7 x64 box, when I run this command to find the current folder name for %* in (.) do echo %~n* it works for folders with alpha characters. However, for folder names that contain numeric ...
0
votes
1answer
284 views

Running Windows Batch File without Popup [duplicate]

I am trying to run a bat file on startup (running Windows 8.1) that will change the permission of the temp folder and then run dropbox. The bat file executes properly on startup and does what I want ...
1
vote
0answers
39 views

Large job Print automation

I regularly need to print documents off to send to a list of people. Each person n needs: The nth page from a Word Document All pages of an Excel Document (same document for every person) All ...
0
votes
1answer
101 views

Changing Gateway and DNS addresses with batch file

I'm having a little crisis every time I have to change the gateway in order to access different sites from my workplace. It's time consuming and I'd be really glad if someone provides me with a script ...
0
votes
0answers
65 views

Domain batch script won't map network drives

I have a user who's workstation has started refusing to map the network drives. We are on a Server 2k3 domain and use batch files to map network drives. The user's workstation is Windows 7 Pro. ...
2
votes
1answer
32 views

How can I add a character to folder names using batch

I've got a series of folders on a Windows server which are a numerical sequence 92001, 92002, etc. and I need to add a '0'at the start of all these folders. Rather than do this tedious task manually ...
0
votes
1answer
92 views

How to generate automatically ODT documents from libreoffice using variables

I have an ODT certificate template which I need to customize with a few elements (name, surname, date, etc.) before printing it. So I would be able to fill it with the data provided in an external ...
1
vote
1answer
39 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 ...
0
votes
1answer
142 views

Batch File to xcopy multiple files from web server to share drive

I am trying to copy a group of files from a folder on my SharePoint site to a network share folder for manipulation "off-line". I am new to xcopy and batch files so trying to teach myself with ...
0
votes
0answers
52 views

How To Properly Get The Drive Letter of a Mounted VHD in batch script

How To Properly Get The Drive Letter of a Mounted VHD in script. Is it possible? list volume select volume <volume_number_of_attached_VHD> assign letter=v exit in this part of script it's ...
0
votes
1answer
182 views

Change registry permission of 3 keys does not work with regini

I'm preparing a batch script that should help me to remove 3 keys from the registry. Unfortunately nobody has permission to edit the keys, except for TrustedInstaller. To execute my reg file that ...
-1
votes
1answer
47 views

Combining same name pdf files together from different folders

I have two folders, and both folders have around 20 thousands PDF files. Folder A x.pdf, y.pdf, z.pdf Folder B x.pdf, y.pdf, z.pdf Now I'm in need of a software or a script to combine those ...