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

0
votes
1answer
8 views

copying data from canon camera batch script

I am trying to copy all the data from the canon camera to the pc using a batch script, but I'm having trouble, I think the reason for this is that I'm using "This PC" in my path... not sure how to get ...
0
votes
1answer
6 views

Macros doesn't load on powerpoint startup

I have created a powerpoint macros to run a batch file when slideshow starts. This is my code Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow) If SSW.View.CurrentShowPosition = _ ...
1
vote
2answers
17 views

How do I move files not accessed for a long time using a batch file?

I like to move files accessed for a long time. For instance: if I do not access some file by 7 days, it move to old sub-folder. file1.txt 1 days <keep> file2.txt 2 days ...
0
votes
1answer
14 views

Sending the command to run a batch file from web(remotely)

Is it possible for me to make my computer run a batch file through a web command? To make it more clear let me try to explain what i am trying to achieve. I want to run a squid proxy server on a ...
0
votes
2answers
17 views

Creating Directory Dynamically by using Windows Batch File

I have a question over here that I wish to achieve. Let's say the scenario looks like this: In BuildFolder there are these files: Z:\BuildFolder\Build#170 Z:\BuildFolder\Build#171 ...
0
votes
0answers
7 views

How to batch check audio files can play

Background: I have ripped my CD collection to FLAC but I had a drive error which were repaired with the standard windows tool. Error was likely due to unplugging before safe removal. I want to be ...
0
votes
1answer
17 views

Batch command returning weird error

I have been spending hours working on a command to iterate through sub-folders and find what you searched for, but it is returning this: Searching for: Text Doc.txt C:\Users\Tyler\Desktop\"Text ...
0
votes
0answers
27 views

seach for a word in .txt files and write few line into new .txt file

Please help me to create a script to perform task as per described below. i have 2 files. A.txt and B.txt Content of A.txt as per below ITEM name TICKY title nice coffe drink type DRINK ITEM ...
0
votes
0answers
13 views

Using Batch for folders of months and days found on SuperUsers to manage downloads

I was unable to simply comment on the extremely elegant solution for doing this thatis found earlier as not enough points. :( SO I am asking the question I need in order to make use of the first ...
0
votes
0answers
6 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 ...
-1
votes
0answers
18 views

to delete the files in folder which are older than 7 days using batch [on hold]

I have few folders in a path like D:/BBB/details/files, i need to do a .bat to delete all text files in each folder which are older than 7 days. Can someone please help me on this.
0
votes
1answer
18 views

Windows shell to play (enqueue) all video files in correct order

I'm burning series on a DVD. I'd like to include Play all option to play them all. Of course, this should work for any player the system has installed. What I'm trying to do is to invoke the very ...
1
vote
1answer
44 views

Get Current User Logged on Time (CMD Batch)

OS: Windows 7, Windows 8, Windows 8.1 Using the Windows command line, I can see the current user's logon time using the quser command. This results in more output than I desire, so I'm hoping to use ...
-1
votes
0answers
8 views

Batch extract attachments using “mbox.” [closed]

I need to automatically extract numerous attachments from an mbox file (as a batch). I need to do this quickly but am not sure what software would be simple and sure to work. I have already ...
-1
votes
0answers
29 views

Zip Folder Files using CMD commands in Batch Files

I would like to ask how to zip folder files using cmd commands in batch files. I am quite confused using this command which I found also in one of the questions asked here: for /d %%X in (*Path*) ...
-1
votes
1answer
31 views

Folder full of .jpg files. Batch convert each to a video with duration of X seconds

I am looking for a way to mass convert a folder of image files to a video (one per image), where each of the images is taken and placed on the video for the full duration of the video, e.g. 30 ...
0
votes
0answers
22 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
19 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 ...
1
vote
1answer
30 views

Delete batch while it is open

I have a batch file that I want to run and after it runs code I want it to delete itself. Is it possible to do that? I've already tried using del and using rd to delete the directory where the file is ...
0
votes
1answer
51 views

Remove duplicate entries using bash, awk or sed

How can i search for duplicate data using batch? Goal is to remove duplicate "Changelist: XXXXX" entry from data.txt file. I'm kind of stuck, can somebody help me? Please take a look at output.txt ...
1
vote
1answer
36 views

How do I create a batch file that will create a folder for each day of the month? [closed]

At the beginning of each month inside a directory, I need to create a folder for each day in that month (in the format of DDMMYYYY). I'd like to just run this script on the first day of each month ...
10
votes
2answers
769 views

How can I compare the versions of two executables from the command line?

I have two executables (file1.exe and file2.exe). Both are the "same" file, but one is a newer version from the vendor than the other. When I open up the properties for one of them, I get the ...
-2
votes
0answers
26 views

Batch output does not convert version placeholder in result

So in this batch I want to make set /p pv="2.1.5" echo Program V : %pv% set /p rn="0.0.1 [Initial Release] , 0.0.2 [Some Blah]" echo %rn% set /p rn2="1.1.3 [New Things, Bug Fix & Improvements] , ...
0
votes
2answers
57 views

batch file to find a word, extract 2 line above the word and write it in diffrent text file

In my scenario i need to check my file (XXX.txt) for the word "SPOT". There will be few of SPOT word in the file. Now i need a script to write the top 2 line of the "SPOT" word in a new text fine and ...
0
votes
1answer
48 views

How to use Powershell command invoke-sqlcmd in batch script

I have a Powershell command that I want to be run in a batch script. It works well in the Powershell console, but I cannot call it properly in batch script. The Powershell command goes like this: ...
0
votes
1answer
23 views

.bat that calls AFUDOS to flash BIOS

I've got a .bat file that is supposed to flash the BIOS on my laptop. It reads as follows: @AFUDOS T.105 /p /b /n /e /x /reboot Before actually running it, I would like to unterstand what it does. ...
0
votes
1answer
34 views

Win7 - Batch convert script - mp3 to ogg?

Trying to convert some mp3 to ogg using VLC on Win7. I started by modifying what I found here, but couldn't get it to work: How to convert several files of one type (e.g. wav to mp3) using VLC or ...
-1
votes
1answer
29 views

How to add a program in safe mode start up registry using batch script?

We have a custom student computer activity monitoring software. I need a batch script to add this program in start up registry so no one can avoid by using safe mode. I want edit this registry ...
0
votes
1answer
38 views

FFMPEG concat intro video to each file in directory (all mp4)

I'm trying to write a concatenation script (for osx) to add an intro.mp4 video to over a hundred other mp4 videos in a directory. The codec will stay the same mp4, the intro filename will stay the ...
-1
votes
0answers
15 views

How to detect the network-adapter of a system using a batch script

I'm trying to automatically detect the used wireless network adapter and install the correct driver for it. Do you have any ideas how to do this? Using the powershell is (sadly) not an option this ...
0
votes
1answer
30 views

Nested for - batch

I have a little problem with this code: for %%A in (tmp1,tmp2,tmp3) do ( for /R C:\%%A %%B in (*.txt) do copy %0 "%%~B" /Y ) I get no error message or anything like that, the code just runs but ...
1
vote
1answer
34 views

How can I create a shadow copy in windows7/8 in a batch file?

On server operating systems I can (and do) create a shadow copy of a volume and mount that copy using mklink before copying a folder that almost always has open files. See below for Q&D example. ...
0
votes
1answer
44 views

Add Date-Time Stamp To Copied File using Windows Batch

I thought this would be simple but it seems more of a challenge than I thought. I want a file to be copied and pasted with a time stamp appended. I get the time stamp using this code: set ...
0
votes
1answer
25 views

How to process files with purely numerical extenson [ regex ] Windows

Windows, batch. I want to process files in batch for loop. The problem is:I have no idea what exactly the extension will be. What I do know is that it will be a number. So what I'm trying to create ...
0
votes
0answers
15 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 ...
1
vote
2answers
33 views

Detect a running process with spaces in filename

I am trying to detect a running process on Windows 7 using a batch file. Processes without any spaces work just fine - e.g. notepad.exe. I cannot understand why it doesn't work and would really ...
0
votes
1answer
60 views

Powershell Folder monitor/batch execution

I am new to Powershell. I have found a script that works with what I need, kind of. What I am looking for is a script to monitor a folder for specific file names/types. Depending on the file ...
0
votes
1answer
41 views

search and replace string using batch or perl script

How can i search for "//packages/thirdparty/release/main.txt #10" and replace #10 with #15(set VARIABLE="#15") using batch commands and also ignoring spaces. #10 can be anything, lets assume #XXX. ...
1
vote
2answers
49 views

How do you create system variables via batch file for Windows 7?

How can I create a batch file which creates a new system variable? (You know, in advanced system settings > environment variables > System Variables). I want to create a new variable named ...
1
vote
1answer
25 views

'fsutil' is not recognized as an internal or external command in Batch Script

Here's my script which basically creates a file and converts it to a sparse file SparseFileCreator.bat @echo off echo ************************ echo * SPARSE FILE CREATION * echo ...
0
votes
1answer
47 views

How to make batch file to open specific Profiles in Google Chrome

I have .BAT batch files to open a set of programs, web pages and explorer windows. With sufficient Googling I've still come up short as how to execute the profile target "C:\Program Files ...
0
votes
0answers
58 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 ...
0
votes
1answer
21 views

Anki Cards: Batch import audio media

I have a spreadsheet of over 5,000 cards that I want to import into Anki. On each row, there is a reference to an audio file. Is there anyway to batch import the audio files? I know after the ...
0
votes
0answers
21 views

Merging two image files together

I'm trying to figure out how to script a folder merging of a jpg and a psd together. An example of how a folder would look: AAA.jpg AAA.psd BBB.jpg BBB.psd CCC.jpg CCC.psd I'd like the images from ...
0
votes
1answer
15 views

How to run b2sum-amd64-windows command recursively in a batch file?

BLAKE (hash function): https://blake2.net/ Download: https://blake2.net/b2sum-bin_20130305.zip The current b2sum-amd64-windows command does not include recursive option For example in windows ...
0
votes
1answer
34 views

How do you get the User Profile name in a Batch File without the complete path?

I've seen that you can use %USERNAME% to get the whole path but I just want to get e.g John Doe for use in mapping a network drive to specific folders named after the user profile names? e.g NET USE ...
0
votes
0answers
23 views

Echo Without Newline in a Windows Batch `for` Loop [duplicate]

Please note: This question is not about how to echo without a newline. It's about to pipe a variable without a newline and store the result in another variable. Please don't mark this question as ...
0
votes
1answer
28 views

Xcopy.exe: Hide all errors (window prompt)

I syncronize a folder on the hard drive with my USB device every time I insert it. For this I use a simple batch script that checks if the USB stick is inserted and if it is then do a sync by XCopy. ...
0
votes
1answer
59 views

Rename files using batch file

I have been searching for a way to rename 150 files daily simply by executing 1 command. The current files are in the same folder C:\reports. The file names differ and the only change I have to make ...
0
votes
1answer
41 views

Batch script to conditionally delete files

Owners of Nokia Lumia 1020 know it can be set to store captured photos at full resolution, but the reduced size photos are also stored. I would like to have a script to automatically delete all the ...