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
98 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
404 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
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
305 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
612 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
745 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 ...
1
vote
0answers
63 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
775 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
628 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
542 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
673 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
429 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
100 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
640 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
712 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
760 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
26 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 ...
0
votes
0answers
12 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
8 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
14 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
10 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
14 views

cmd not closing only for flash drive

I'm having trouble with cmd not closing. I had these two lines %SystemRoot% /explorer.exe "C:/users/me/Documents/myfolder" %SystemRoot% /explorer.exe "M:/workfolder" I tried using "start" and ...
0
votes
0answers
15 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: ...
0
votes
0answers
18 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
36 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
37 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
40 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
55 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
36 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
37 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
9 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 ...
0
votes
0answers
15 views

Batch appending (set side by side horizontally) entire folder of images in pairs using imagemagick

I'm trying to figure out the correct command(s) to batch append (and output with a sequentially numbered (incremented) filename) an entire folder of PNG files, in pairs. i.e. I have a folder of ...
0
votes
0answers
28 views

Command Line to “batch” unrar many Archives into Subfolders accordingly

in Windows 10, i have an folder F:\archive with about 300 different "File 1.rar" "Otherfilename 307.rar" Knowing Linux better then Windows I spend some time to compile the following command and it ...
0
votes
0answers
36 views

How to connect to a wireless Display adapter automatically through scripts or Task Scheduler?

I am trying to project files to a Samsung TV which has a windows display adapter. I want to automate the entire process. So when the TV is switched on, I want the computer to continuously check for ...
0
votes
0answers
32 views

Batch script with FOR /R and ECHO don't work

The script below don't work, it doesn't create the file with the ECHO command. If I run the FOR line (changing %% by %) in CMD it's working perfectly. Do you know why ? SET TXTDATDIR=c:\TEST\EXPORT ...
0
votes
0answers
44 views

Windows Batch - Insert file name and spacer into contents of all text files in a directory and subdirectories

I have a directory and subdirectories of text files like this: my text What I'd like is to insert the file name (with or without the '.txt') and some spacing characters into the beginning of each ...
0
votes
0answers
15 views

how to enter commands in a cmd window and keep it open with a batch script?

How can I create a batch script, that opens a cmd window, issues commands in it, and then keeps this cmd window open? I have a production system, where I have to operate quite often using a special ...
0
votes
0answers
7 views

Loading formating into Evernote with text file

I am trying to set up a system to automatically generate and open a Note in Evernote, using a .bat script. I need to the Note to have some formatting and also be able to have some unique content ...
0
votes
0answers
34 views

Set specific User's account picture via Batch script

Background: Our company is a small MSP. I have written a script that works well to create our local admin account and set us as a local administrator. That part isn't super important. The main thing ...
0
votes
0answers
19 views

Some guidance in a .bat that adjusts the Screen Saver via Active Setup?

The request: I was asked to look into changing en masse our screen lock policies here at the main office, which would be easy enough to do if I remote logged on and made adjustments one-by-one. But ...
0
votes
0answers
37 views

malware or Google Drive not working due to batch file being opened by text editor by default

I'm seeing some suspicious behavior on startup, and am wondering if I should be concerned. What's happening is C:\Users\<me>\AppData\Local\Temp\tmpevpnra\run.bat is being opened in Notepad++. ...
0
votes
0answers
47 views

Command from batch file not recognized unless run from Desktop OR as administrator

I have installed UnZip so I can extract files by running batch files, I added the bin folder to both PATH (user variables) and Path (system variables), but I still have the following problem: I ...
0
votes
0answers
25 views

pscp not accepting passwords with -pw in batch FOR loop

I am trying to copy a list of files from local (Win7) to remote (Ubuntu14.04) with pscp. The paths to my files are stored in a text file file_ids.txt: T:\file_1.txt T:\file_2.txt T:\file_3.txt The ...
0
votes
0answers
20 views

Batch - Schtasks Onstart Repeat Interval

Command I'm using: SCHTASKS /Create /SC ONSTART /TN "TaskName" /TR "path" /RU "user" /RP "pass" /RL HIGHEST I'd like to repeat this task every 10 minutes, which would be doable with the /RI flag, ...
0
votes
0answers
12 views

Get Character At in an Batch Parameter?

I want to create a command go as follows: go foldera\folderb :: executes :: cd foldera\folderb :: dir go Z:\foldera\folderb :: executes :: Z: :: cd foldera\folderb :: dir I tried with just cd and ...
0
votes
0answers
14 views

QTLIBS,QTMAKE should read from the environmental variables

In a batch file I have set the absolute path of Qtlibs, QtMake and QTTools like this: set QTLIBS=C:\Qt\Qt5.5.1\5.5\mingw492_32 set QTMAKE=C:\Qt\Qt5.5.1\5.5\mingw492_32\bin set ...
0
votes
0answers
71 views

How remote deploy a windows provisioning package

I have created a provisioning package (*.ppkg) with the Windows Imaging and Configuration Designer (ICD.exe). I know I can double click on it to install it on the current machine. My question is how ...