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
618 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
536 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
654 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
424 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
635 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
710 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
759 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
29 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
14 views

Controlling encoding of redirected win console command output

Here is what I want to do: Redirecting properly the output of console applications (I use the misuse term command in the rest of the message) into a file with 1252 encoding (to make it readable from ...
0
votes
0answers
16 views

Having a message box used as a variable in batch program

I am attempting to have a batch program pop-up with yes or no options and depending what the user clicks will determine what the program will do. for example: @echo off Echo x=msgbox^("Yes or ...
0
votes
0answers
7 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
12 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
17 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
29 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
31 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
27 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
14 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
28 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
21 views

How to start a server via Jenkins without outputting the server trace in the Jenkins console?

I have written a windows batch script to start an apache tomcat server via Jenkins. When the server starts to run, server trace is shown in the Jenkins console. But all on a sudden the window of the ...
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
35 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
41 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
16 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
12 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
63 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 ...
0
votes
0answers
38 views

If a folder dont exist, then create it recursively, then copy a file into it

Just lik the title says, what I need is a batchscript or something that'll do this: If a folder doesn't contain a .bmp called samp.bmp, then delete the main folder (as an example z:\robert doesn't ...
0
votes
0answers
90 views

Could not start PSEXESVC service on Target Machine

I want to run batch file into remote machine and i was using psexec cmd for that but i got error like "The remote procedure call failed." My command is, E:\user>psexec -i -s -d \\192.168.1.41 -u ...
0
votes
0answers
25 views

Write on screen directly on top of everything

Is there any way to make some huge text appear on screen on top of everything? something as shown below. I know I can use Rainmeter but i need something that can be used in batch files.
0
votes
0answers
28 views

Batch render .mp4 to .webM keeping folder structure

I'm not a native mac user but I've managed to put together a code for batch converting .mp4 to .webm which is: for i in *mp4; do ffmpeg -i $i -c:v libvpx -qmin 0 -qmax 20 -crf 10 -b:v 1M $i.webm; ...
0
votes
0answers
47 views

Install network printer with batch file

I have one printer connected to a RaspberryPI and many clients. To save time, I want to create a batch file, that installs the printer and its driver automatically. Here is what I have by now: ...
0
votes
0answers
33 views

Batch Delete User Files every 2 Weeks

I need a Batch-Script which delete Private User Files every 2 Weeks. User Files Admin, Public and a Domain-Account "dJas" shouldn't be deleted. This Script crashes Windows @echo off & setlocal ...
0
votes
0answers
27 views

What is the symbol for all folders in a folder when you dir a path and export to .txt?

I have a folder called root\sound\weapons. In root\sound\weapons I have: ak, m4, m9, etc., and in each of these, I have five sounds. I want to dir root\sound\weapons\ak,m4,m9\*dist.wav /B /O ...
0
votes
0answers
17 views

On Click events - Similar to “Show Numbers” in voice control

I am looking for a way to activate the functionality of Windows' voice control show numbers. Show numbers: On the voice command show numbers, all on-click events in the active number is displayed ...
0
votes
0answers
21 views

How to login a user from batch?

I'm looking for a way to login a user at a certain time of the day (for example 3 o'clock, when I'm most certainly not logged in), take some screenshot and then logout. As you can see from my ...
0
votes
0answers
39 views

Compiled batch file doesn't require admin privileges?

The following command requires admin rights: netsh wlan set hostednetwork mode=allow ssid=%ssid% key=%pass% However, when I compile the batch file to an exe using the converter at f2ko.de, the ...
0
votes
0answers
32 views

Batch file with Loops doesn't work

I made the following batch file to sort some files, but I don't know why it does not work: pause for /l %%x in (1, 1, 12) do ( FOR /L %%G IN (1,1,24) DO ( for /r %%a in (*%%x*%%G*) do ...
0
votes
0answers
57 views

Batch to enable and disable a setting in Internet properties

I'm trying to find a .bat script to enable and disable a certain setting when clicked in Control Panel > Network and Internet > Internet options > Advanced > Browsing > Use inline autocomplete in the ...
0
votes
0answers
14 views

create parent and child folders based on folders being transferred .bat script

I’m using windows 7. I am currently using the following .bat script file using scheduled tasked for once a day: set source=C:\Users\myid\Desktop\1 set destination=C:\Users\myid\Desktop\2\ xcopy ...
0
votes
0answers
39 views

run batch file only when the same process is not in progress

I would need to run batch when user logs in, but if any other cmd.exe is running, then batch won't execute. Maybe something similar to this: How can I recognize a running batch file in task manager?. ...
0
votes
0answers
63 views

How to tell from the command line if a PDF has an browseable index/table of contents?

I use Linux. I need a command line way to tell whether a PDF file has index/table of content. Knowing that a PDF file contains structures that could be called also an index/table of context, and to ...
0
votes
0answers
26 views

Win7 long filename passed into batch file only see short file name

I have a batch file that is called from the context menu , all it does is pass in the file name to the batch file. From the context menu [HKEY_CLASSES_ROOT\*\shell\Label Back Up File\command] ...
0
votes
0answers
160 views

Batch file to get remote system information in a loop

Sorry about the title, I struggled to explain it in one line. I have a simple script which gets a remote systems status, and returns the line which contains the total memory, and outputs it to a ...
0
votes
0answers
27 views

Batch with Multiple REG ADD /f but Some Lines Still Prompting for Confirmation

I created a CMD file with multiple REG ADD commands - they all are successful when it is run. All of the REG ADD lines contain a /f to force the change without confirmation. The are all contained in ...
0
votes
0answers
37 views

Batch (program) to monitor, copy files

I need to copy files from ftp. There are new files every ~ 30s. I need to move them to directory. I try synchronize with winscp but from local directory files are taken and synchronization keeps to ...