Batch file

Introduction

A batch file is a text file in MS-DOS, OS/2 or Windows that contains a sequence of commands intended to be executed by a command interpreter.

After a batch file is launched, the interpreter program (usually COMMAND.COM or cmd.exe) reads it line by line and executes the commands one after another.

A batch file is the equivalent of command-line script files (shell scripts) in Unix-like operating systems. For example, bash in Linux

Batch files in DOS have the .BAT extension; for other operating systems they may have other extensions — for example, .CMD in Windows NT and OS/2 or .BTM in 4DOS or similar shells.

Example

A batch file for quick access to hosting over FTP

cd / cd "Program Files <x86>" cd "FileZilla FTP Client" start filezilla.exe "ftp://user:pwd@server"

Loudness Equalization

PowerShell

tail analog in PowerShell

Windows Firewall

Drivers in Windows

Developer Mode in Windows 10

BASH in Windows 10

Telnet in Windows 10

PATH system varialbe

Windows Installation on gpt disk

Article author: Andrei Olegovich