Questions tagged [batch]

A batch file is a text file containing a series of commands to be executed by the command interpreter on MS-DOS or Windows operating systems.

A batch file is a text file containing a series of commands, usually saved with file extension .bat (on both MS-DOS and Windows) or .cmd (on Windows only).

The commands are executed by the command processor of the operating system:

  • command.com on MS-DOS or on MS-DOS-based Windows versions (Windows 3.1, 9x, ME);
  • cmd.exe on NT-based Windows versions (Windows NT 3.5/4, 2000, XP, Vista, onward); (this features so-called command extensions which are enabled by default; if they are disabled, cmd.exe is meant to be compatible with command.com, but there are several exceptions;)

Do not use the tag for topics about batch-processing files, neither use it for Spring-batch!

References:

8 questions
6
votes
2 answers

Windows batch files (.bat) coding style standard

Is there any standard/encouraged Windows batch file coding style? I would think that if I want my batch files to be easy to read/mantain, I should care about this, but searching the web I found very little about it, and I didn't get any reviews…
carlossierra
  • 1,425
3
votes
4 answers

Is real-time processing a synonym for streaming?

I watched two YouTube videos where in: 1st one - there are concepts of batch processing and stream ingestion and in the 2nd one - there is a comparison between batch and real time processing. Is it fair to say that when we refer to streaming and…
bridgemnc
  • 261
3
votes
2 answers

Microservice architecture pattern for Batch based system

I have been exploring the microservice architecture for the batch-based system. Here is our current setup: Code: We have 5 systems that are internally connected and they pass data from one system to another. Currently entire logic is sitting in…
1
vote
2 answers

Classpath hell: independently updated apps with shared dependencies

This is how our desktop applications are launched. In this case, it's called DesktopApp (I changed the actual name). As you see, the dependencies are hard-coded, including their versions. In the script below, I included only one…
1
vote
3 answers

Design of ETL system that should receive both files and via api

I am tasked to design a system that should receive data either as files or via an API and perform ETL functions. The end result is put into an RDBMS. For the sake of example, imagine a system that handles billing for electricity companies. Some of…
0
votes
1 answer

Python code template for scripts to be run in batch

I will be writing a number of Python scripts which will be run in batch daily on a Windows server. I am trying to develop a template for writing the scripts. My intention is to use a configuration file to hold the settings (for example: the location…
0
votes
0 answers

Forecasting future batch sizes to balance throughput capacity?

I've a data streaming platform (Nifi) where I need to transfer tables of data between databases on given schedules. I want to be able to calculate in advance the optimum batch/schedule size i should use. Assume I've three databases with different…
-3
votes
3 answers

C# implement .bat file functionality, call bat file or implement from scratch in C#?

I have a bunch of scripts written in .bat files that I'm trying to implement into one big program using C#. These .bat files mostly do simple operations like copying files into network drives etc. Would it be better to implement the batfile…
Lightsout
  • 135
  • 5