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
0answers
1k 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
308 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 < C:\Users\pathaanj\...
1
vote
0answers
626 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
787 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
1k 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 avidemux="...
1
vote
0answers
64 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
792 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
648 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
557 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
720 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
444 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
101 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
1k 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
1k 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
657 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
718 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
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 ...
0
votes
0answers
5 views

batch insert same contents into multiple text files

How to batch insert contents of a text file into 500~700 other empty text files inside a folder. I dont have much idea abt windows batch , tried finding all over google but couldnt get any info about ...
0
votes
0answers
18 views

Interrupted loop

How would I create a batch file with an interrupted loop? At the momen I have a file with sort of a matrix-y feeling that does this... :start echo %random%%random%%random%%random% goto start but ...
0
votes
0answers
24 views

Robocopy: ERROR 5 (0x00000005) Accessing Source Directory \\server\ParentFolder\ChildFolder\ Access is denied

I have the following robocopy command to copy the directory from a folder on the network location to another folder on the same network location: @ECHO OFF for /f %%a in ('wmic os get LocalDateTime ^|...
0
votes
0answers
44 views

Unpacking and then repacking a war file using batch command is increasing the size of the war file

I have a war file named CheckIn.war. I use the following batch command to unpack and then pack the war file. I also use a java code to change a value in an xml file after unpacking. jar -xvf CheckIn....
0
votes
0answers
13 views

Update windows shortcup lnk

We got a shared folder sharedF where anyone can add file shortcut. Usually, people add the shortcut linked from a network folder sourceF. The problem is that users get sourceF connect to their ...
0
votes
0answers
20 views

create file type and change default application by script/regkey

We have some software which uses the *.opl file format, which isn't recognised by Windows. We can change the file type but when logging off and back on again, the default application is lost, even ...
0
votes
0answers
28 views

Formatting similar MSWord (pasted from MSExcel) tables in batch

I've got a lot of similar spreadsheet (same dimensions, different numbers) in MS-Excel, like this : To present them in my report in MS-Word. I have to format them in this way : To avoid ...
0
votes
0answers
14 views

Automate import of drawings into network design software then printing to PDF

The company I work for uses Stardraw Design 7.1, an AudioVisual design software. However, its level of power-user options seem to be quite limited. I have to import thousands of drawing files to print ...
0
votes
0answers
69 views

SchTasks Windows 10 access denied

I wanted to create a task using SchTasks to run my batch file everyday 11pm this batch file starts a programm and runs a vbs script after the programm started. I created following Task: SchTasks /...
0
votes
0answers
14 views

How to find the pixelwise difference between every sequential pair in a directory of images in ImageMagick

I have a directory of 1,000 time lapse images, ordered by their timestamp. I would like to take the pixelwise difference between every two sequential images, and store the resulting 999 images in a ...
0
votes
0answers
67 views

How can I make a batch file play an MP3 file that starts minimized?

I've tried many things such as: set "track12.mp3" ( echo Set Sound = CreateObject("WMPlayer.OCX.7"^) echo Sound.URL = "%file%" echo Sound.Controls.play echo do while Sound.currentmedia.duration ...
0
votes
0answers
65 views

cut 10 sec from start and from end of video with ffmpeg

I'm trying to cut 10 sec from the begging and from end of videos. I have 150 short videos in mp4 and I want to do this in batch. I have downloaded ffmpeg (x64) and installed. When I type the command "...
0
votes
0answers
26 views

Prevent programs from opening

I'm writing a batch file that kills background processes, but some processes keep starting back up again. (Using Taskkill) I could loop the taskkill command, but that would use more CPU power than it ...
0
votes
0answers
24 views

How to wait for Autodesk installation to be completed when over the network?

The title may not be all that clear, but I'll do my best to explain better here: Our company is using a bundle of Multi-Seat Standalone et Network licences for Autodesk Building Design Suite Premium ...
0
votes
0answers
12 views

HTK Warning [-2637] how to break batch file

I have batch file for my HTK routine, and problem sometimes occurs in process increasing gauss mix. Professor told me to stop with increasing when this warning occurs. For increasing I am using HHed ...
0
votes
0answers
27 views

Running Matlab with clusrun

I'm pretty much a Microsoft HPC rookie, but here goes: I have a small cluster of 3 computers running Windows Server 2012 R2. I have the Microsoft PC Pack, which includes a clusrun command (https://...
0
votes
0answers
30 views

windows batch, program started by 'start' command minimized

I am writing a windows batch file to launch my java gui application, but when I run my batch file, my application starts in minimized, how can I bring it to front at start ? I run it on windows 10 ...
0
votes
0answers
37 views

Batch File Property File String Search And Change the Value to user inputting value

I have a batch file to search a string in a property file and after finding the string, replacing its value to anew value...This script was working fine since last month.Now it is doesnot working in ...
0
votes
0answers
36 views

Running batch file in different folders doesn't always run?

So, I have this script because I use a program called Free File Sync on Windows 10 Pro. While copying, I received an error preventing copying over some files. The files in question were downloaded ...
0
votes
0answers
30 views

Pipe loop's output into variable, than check with if else

I have the following batch script: @ECHO OFF SET "TLD=.com" FOR /F "tokens=*" %%i in (%cd%\files\domains-win.txt) do ( whoiscl -r -n %%i%TLD% | FINDSTR /I /C:"Registrant Name" > NUL 2>&...
0
votes
0answers
24 views

How can I add extra commands/arguments when opening Command Prompt with PsExec?

I'm creating a shortcut to open Command Prompt with SYSTEM privileges, it works fine, but I want the title of the resulting cmd window to be clearly labeled with something like "SYSTEM". So I want to ...
0
votes
0answers
19 views

Create subfolder and move zip files into subfolder

I am needing a batch file that will create a subfolder, and move my zip files to subfolder. Example of what I am looking for Parent Folder MyFolder1 XXXX.zip YYYY.zip ZZZZ.zip ...
0
votes
0answers
15 views

Configure network settings based on available wireless networks

Good day- I work in a variety of locations each with their own IP settings - some static, some DHCP, some wireless, some hardwired. I've written a bunch of batch files to quickly set and reset (...
0
votes
0answers
13 views

Batch converting .rar to .7z - path variable?

I found someone who had written a very nice batch script to convert .zip to .7z, and im attempting to make it convert .rar to 7z. I am able to get the script to work but I cannot figure out where the "...
0
votes
0answers
17 views

Extracting zip files within zip files

I have a file which contains an unknown extremely high number of zip files, only within each other, and a file at the bottom, like so: zipfile\zipfile\zipfile\zipfile\zipfile..........etc.etc.\...
0
votes
0answers
20 views

Move files in sub folders to parent folder avoiding overwrite by changing filename

In continuation of the question I asked here: I would like to ask how it would be possible to still do the move, but still avoiding the overwrite by changing the filename. Like for example adding a ...
0
votes
0answers
73 views

Batch: Run with GPU command?

I have a laptop with nVidia and Intel graphics. When I launch a programm, by default it uses Intel graphics, but I can make it use nVidia. Question: Is there a way to do the same(run it with nVidia ...
0
votes
0answers
45 views

Do Copy Keyboard Settings to the Welcome Screen via batch script or registry tweak

To copy keyboard settings to Welcome Screen on Windows 7/8/10 you need to perform this steps: Go to Control Panel -> Language -> Advanced Settings Click "Apply language settings to the welcome ...
0
votes
0answers
58 views

How to disable IPv6 through cmd script

I don't want to manually uncheck the IPv6 checkbox in network connection. I want to make a cmd logon script to disable IPv6 for a dozen of computers. I have tried: netsh interface teredo set ...
0
votes
0answers
93 views

What command will ensure a Command Prompt window always stays on top/at the front?

I am writing a silly little program in batch, and I want to make sure the CMD window is always at the front of any other windows that are called by the program. Here are a few lines as an example of ...
0
votes
0answers
45 views

How to batch install setup-file (*.exe) on PC?

Instead of repeatedly double-clicking tens of setup files (*.exe), can batch-installing at once be possible? Or at least one double-click is enough to sequentially activate them? The closest Google ...
0
votes
0answers
41 views

Looking to rename large amount of files using bat script

I'm still pretty new to the use of powershell, scripts, and the like, so I'm sorry that I don't have some form of script to start with. All I have is the specifics on my problem. I have a large ...
0
votes
0answers
13 views

Acrobat XI Pro how to suppress Action Wizard messages

I'm running the Action Wizard in Acrobat on Windows 7 to convert files to OCR PDFs. Each time it processes a file a window pops up and the Action Wizard overrides anything else I might be doing on my ...