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
0answers
40 views

What are the underlying Windows7 mechanics that are responsible for opening selected files via key 'Enter'?

I need to create a batch script that opens n files, of same type and same suffix, with program p, without creating n instances of p (i. e. use multiple tabs instead of multiple instances). For some ...
2
votes
0answers
263 views

Imagemagick batch converting memory overload

I must to convert about billion of images from jp2 to jpg... I create such .bat for /d %%d in (*) do ( for %%f in ("%%~d\*.jp2") do ( convert -limit memory 0 -limit map 0 "%%~ff" -quality 25 ...
2
votes
0answers
289 views

Run shutdown script as Administrator on Windows XP

I've written a script using Ninite Pro to update the installed Applications on the Windows XP pro Client. Unfortunately it has no administrator privileges, is there a way to run a shutdown script as ...
2
votes
0answers
111 views

Skype audio device batch file

I need to create a .bat that will change my Skype mic input to a virtual audio cable and the speakers output to a different virtual audio cable, and it cannot affect the Windows default devices in any ...
1
vote
0answers
30 views

WIX: Run batch file based on checkbox value with admin right

I created a installer using WIX. However, after installing the software, I have a checkbox asking the user whether to run a batch file or not. If the user check the checkbox, the batch file will run. ...
1
vote
0answers
121 views

Using batch to automate manage-bde

We would like to encrypt C (full disk) specifying a startup password (we are ok with this in plain text, it's temporary) and simply backup the recovery key to the desktop. So far what's working is ...
1
vote
0answers
26 views

move filename bar.filename, without mentioning filename twice?

How do I move filename to bar.filename without mentioning filename twice? In Bash I can just do: mv {,bar.}filename. I suppose I could do: set filename="foobar" && mv "%filename%" ...
1
vote
0answers
83 views

Batch metadata and text extraction of pdf files

I have a set of PDF files, all of which contain text. However, some of these files were somehow not created properly; the selectable text is not searchable or convertible to plain text (the resulting ...
1
vote
0answers
123 views

Automatically run executable files with third party program/script in Windows

It is possible to launch an exe file using a third party program through the context menu. My problem is that an exe file might be triggered by a script or by another application on which I don't ...
1
vote
0answers
120 views

Batch File to upload via FTP - 550 Permission Denied

I am trying to create a batch file that will upload a single file by FTP every time it is ran. Everything looks good in windows cmd. I get past the authentication of user name and password and after ...
1
vote
0answers
88 views

How to generate URLs to shared files in my google drive in batch? How about create Qualtrics surveys in batch?

I have about 200 images uploaded in my google drive, and I want their URLs. I can, of course, manually click "share" for each one of them to get their URLs then paste them in a text file myself, but I ...
1
vote
0answers
131 views

Creating an account creation script to create new users in Windows Server 2008

I need to be able to make an account creation script that will create a new user in the Domain Users group, set its password, roaming profile, and login script. The input will be first name, last ...
1
vote
0answers
100 views

Appending filename and path in Batch file

I'm having a hard time learning how to use command lines and the using batch files. What I want to do is write a custom path and then add the filename so that the output could be saved there. This ...
1
vote
0answers
62 views

Applications and .bat script get locked in Windows 7 for some minutes

I am playing around with Windows batch scripts and simple C++ applications on a Windows7 64Bit PC. The problem I am facing is that I cannot modify neither the batchfile nor the mingw-exe for minutes ...
1
vote
0answers
182 views

Batch file to boot to desktop on Windows 8?

I wanted to put a batch file that runs explorer.exe on a scheduled task so it would run every time I log on and boot me right to the desktop. I know there's 3rd party programs that do this and so does ...
1
vote
0answers
17 views

Simulating errorlevel

My command takes long to run but I expect that it can finish with error and I want fail fast in the batch loop in this case. How do I produce the error level? I tried a batch file with exit 1. But, ...
1
vote
0answers
184 views

How do i add command to my batch file to go get a screen shot of a webpage and return and save to my desktop?

I'm just learning about batch files and such, and I have been googling round and round trying to find how to create a batch file with a command that will go to my youtube page link and take a ...
1
vote
0answers
72 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 ...
1
vote
0answers
1k 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
0answers
51 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 ...
1
vote
0answers
75 views

Batch window's colors are screwd up by Node.js and related commandline services

I run node.js from a batch file and whenever some command that has colorful output it screws up my batch window's default colors. ^ Here it's debug that does it, but any command that has colored ...
1
vote
0answers
60 views

Can I perform different actions in a windows batch file based on the most recent version of a program installed?

Some of our computers run multiple versions of Microsoft Access (97 & 2010) while others run 365. For the pcs running multiple versions, the default is set to 97. I have a batch file that is ...
1
vote
0answers
267 views

Nested environment variable does not expanded

I can't explain the below strange issue. I have two system variables: PYTHONHOME = D:\Tools\ISDC_Tools\Scripting\Python.2.7 PYTHONPATH = %PYTHONHOME%;%PYTHONHOME%\Lib After creating a new cmd ...
1
vote
0answers
79 views

Trying to create a lock system

I've been trying to create a locking system just to help deepen my understanding of batch files. To clear things up, this isn't supposed to be very complex or even practical. This is just more of ...
1
vote
0answers
209 views

Task doesn't complete if it is run by System (so it's hidden)

I'm making an application using Python to parse a webpage. For reference, this is the program's code: import csv from selenium import webdriver from selenium.webdriver.common.keys import Keys import ...
1
vote
0answers
988 views

Windows batch “rmdir /s /q” empty a folder but it is still there (but 0KB) and can't access

I use Windows 7 x64. I have a svn checkout Working folder, say "Working". When I use a batch file or just open CMD, I did del "%currPath%\Working" /s /f /q rmdir "%currPath%\Working" /s /q The ...
1
vote
0answers
247 views

Able to auto-login but some commands in text file are not executing in SSH

How can I access the password for mvslogin.sh in putty. I am using below commands in a batch file: C:\Users\pathaanj\Desktop\plink.exe -ssh tpcvld01 -l lz87t1 -pw automate_12 < ...
1
vote
0answers
451 views

netsh suddenly stopped working - now cannot load IFMON.DLL

The following commands recently stopped working on my system netsh interface ip add dns name="Wireless Network Connection" addr=8.8.4.4 index=1 netsh interface ip add dns name="Wireless Network ...
1
vote
0answers
520 views

Script working but throwing 'The syntax of the command is incorrect.' error

I am trying to use this script here: http://www.logaans-site.co.uk/2009/10/17/simpler-version-of-the-7-zip-backup/, it works but is throwing a "The syntax of the command is incorrect. " message. Can ...
1
vote
0answers
378 views

Refresh Domain Credentials Cache via command-line

Is there a way to refresh the cache a domain-computer keeps to store domain passwords? I have a PC that is infrequently on the network, and the occasion happens where I would like the manually update ...
1
vote
0answers
749 views

Batch Avidemux - What am I doing wrong?

I'm trying to make a batch file that runs through a set of mkv files and hardsubs the embedded subtitles into outputted mp4 files, using Avidemux and MKVToolNix. Here is my batch file: set ...
1
vote
0answers
59 views

Test my RAID 0 with a cache ssd attached using checksums?

I was hoping to use a ram drive to store a randomly generated file that is written to the raid 0 array, and then read, and checksum is verified against what's on the ram drive. Lather, rinse, repeat. ...
1
vote
0answers
653 views

Bat file to change group policy

Based on the answer to this question: Windows XP: is it possible to log startup and shutdown times in the system event log? I want to be able to add it to a batch file, but have no idea how to go ...
1
vote
0answers
445 views

Downloading a file from multiple FTP's via excel/command prompt

I have a huge list of ip's which point to a text file I need to download. There is about 500 text files and the text filename is the same, data.txt. My initial thought was to use a macro to get the ...
1
vote
0answers
380 views

Removing unwanted tags from picasa

Before Picasa added its face finding feature I had tagged a lot of photos with names of people. Now I want to remove all these tags is there any easy way to view all teh tags currently in use by ...
1
vote
0answers
488 views

Refreshing Crystal Reports through Excel Macro

At work we have an ancient Ingress database that wont allow me to make links between tables using the SQL Query editor in Excel 2007. My current solution is to generate the data in Crystal Reports, ...
1
vote
0answers
374 views

Auto rename files through excel sheet or through folder of these files

I have excel sheets with lot of files names like.. I want to renames all files through excel sheet and renames files itself.. Or 2nd condition is , if i rename files my self and rename in excel sheet ...
1
vote
0answers
98 views

Windows: Add samba printer at each logon

All, I currently have a samba printer shared at \\%ServerIP%\Printer1 which requires credentials to connect. Users can easily add the printer with the printer wizard. However, the printer will stop ...
1
vote
0answers
993 views

How to audit “all file failures” on a system partition from command line

Directly from the source: Open Windows Explorer and use the file and folder properties function to verify that the audit settings on each partition/drive is configured to audit all "failures" ...
1
vote
0answers
868 views

Windows batch file: rename files (possibly in multiple folders) based on input file (of target filenames)

I am a Batch-newbie... This "tool" is to automate the slimming down of Windows (XP) by disabling certain system driver, DLL and EXE files. Instead of outright deletion, I wish to rename-in-place, ...
1
vote
0answers
507 views

How to batch print multiple e-mails into one single PDF with one click on Windows 7?

I use the e-mail software "Postbox 2" and I won't switch this so fast, as I have like 7000 e-mails in my GoogleMail account, which is the main account I want to print the e-mails from. I'm going ...
1
vote
0answers
674 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 ...
1
vote
0answers
710 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 ...
0
votes
0answers
12 views

How can I batch convert all of my video files to AAC audio without converting the video?

I've used XMedia Recode to do this and it works great. I set video to "copy", audio to "convert", and it takes 2 minutes for a 2GB file. There's two problems with it for batch work though. It doesn't ...
0
votes
0answers
18 views

VLC Batch file playback

I'd like to be able to run a batch file from my computer that does the following: Open VLC Play a video file until it said file ends. Stream webcam (dshow://) whilst playing a sound file only after ...
0
votes
0answers
26 views

Ampersand & special character on a Active Directory Name and CMD commands

I have a group that part of its name contains an ampersand & I am trying different commands for example dsquery group -name A&I-group but it does not work I tried escaping it using the ...
0
votes
0answers
50 views

Set Windows 7 to “Performance optimized” under Visual Effects with Batch script

I have this .bat script to start a specific game: @echo off if not "%~1"=="p" start /min cmd.exe /c %0 p&exit start "" "GTAVLauncher.exe" timeout /t 60 /nobreak >nul taskkill /f /im ...
0
votes
0answers
19 views

Term service will not start

I just reinstalled Windows 7 professional and the first and only thing I did was run these in the command prompt to enable remote desktop: reg add ...
0
votes
0answers
14 views

netsh wlan will not show computers on network

I am using the following command to create a WiFi Hotspot: netsh wlan set hostednetwork mode=allow ssid=SSID_NAME key=PASSWORD netsh wlan start hostednetwork pause There is just one problem though, ...
0
votes
0answers
20 views

Robocopy won't work with Task Sheduler in Win7

I need to copy file from server to local disk cca every 5 minutes. Created batch file work fine but from Task scheduler it does nothing. The Batch file looks like this: ...