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:

6 questions
5
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,395
  • 2
  • 13
  • 17
2
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…
SMaZ
  • 79
  • 1
  • 6
0
votes
1 answer

Interactive and Batch traffic in one service

I am designing a workflow, and am trying to avoid parallel deployments of the same service. Thus I am looking to have one service that handles both interactive and batch traffic. My main concern is how to ensure that my service can horizontally…
Brian
  • 109
  • 4
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…
emeraldjava
  • 174
  • 6
-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
  • 125
  • 3