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
165 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 ...
2
votes
0answers
257 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
283 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
110 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
8 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
81 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
25 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
71 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
117 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
101 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
80 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
127 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
86 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
57 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
16 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
165 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
69 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
50 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
72 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
59 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
263 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
194 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
961 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
240 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
437 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
512 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
363 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
735 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
57 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
643 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
420 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
373 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
465 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
367 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
985 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
852 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
500 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
669 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
704 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
17 views

How to append output from sqlcmd argument to txt file?

I am 100% new to batch files, so bear with me. sqlcmd -U %username% -P %pw% -S ServerName -d TableName -i "%%G" >> output.txt This doesn't work. It works fine without the >>. The error ...
0
votes
0answers
35 views

batch script to list local hard drives and then do a dir command on each drive

I tried to make a script following this topic "batch script to find drive letter of a mounted device" With help of one stackoverflow user we got the script running. This is the script: @echo off ...
0
votes
0answers
41 views

Windows Batch file nested IF statement running both IF and THEN

Not sure why this nested IF statement won't work right. I can't find any issues with it. The Last code block actually works properly, not sure why the first one doesn't. The first script is running ...
0
votes
0answers
12 views

Scale multiple DXF CAD files in AutoCAD?

I have a few thousand DXF CAD files that need to be scaled from imperial (inches) to metric (millimeters). The scale factor is fixed. Is there a way to scale all these files in batch via AutoCAD ...
0
votes
0answers
25 views

Command works in C:\ But not in Users

I am working on a backup program before we image users computers and I want to search for certain types of files. for /r /d %a in (*) do @copy "%a\*.png" "%usr%\file\pic" < All It works great ...
0
votes
0answers
21 views

Script will not continue

I have a batch script that deletes a folder but if the folder cannot be found, then the script stops. I am using the follow command: rd Folder anything underneath that command is not executed if ...
0
votes
0answers
24 views

METADATA_BLOCK_PICTURE header for vorbis ogg. How to batch (windows cmd.exe) or rebol create it?

I have searched the web with no success :( Is there anybody out there able to help with a working example on how to create the header for the METADATA_BLOCK_PICTURE for vorbis ogg ? (batch (windows ...
0
votes
0answers
63 views

Windows Shutdown Times (hour-minute), how can I know - Is there any small batch file or something similiar for this?

I used to learn the Windows Shutdown times from event viewer - however in windows 8.1 as you may be aware there is no full shutdown. So I can not view the system shutdown time. But I do not want to ...