batch file

A batch file is a script file in DOS, OS/2 and Microsoft Windows. It consists of a series of commands to be executed by the command-line interpreter, stored in a plain text file. A batch file may contain any command the interpreter accepts interactively and use constructs that enable conditional branching and looping within the batch file, such as IF, FOR, and GOTO labels. The term "batch" is from batch processing, meaning "non-interactive execution", though a batch file might not process a batch of multiple data.
Similar to Job Control Language (JCL), DCL and other systems on mainframe and minicomputer systems, batch files were added to ease the work required for certain regular tasks by allowing the user to set up a script to automate them. When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe) reads the file and executes its commands, normally line-by-line. Unix-like operating systems, such as Linux, have a similar, but more flexible, type of file called a shell script.The filename extension .bat is used in DOS and Windows. Windows NT and OS/2 also added .cmd. Batch files for other environments may have different extensions, e.g., .btm in 4DOS, 4OS2 and 4NT related shells.
The detailed handling of batch files has changed significantly between versions. Some of the detail in this article applies to all batch files, while other details apply only to certain versions.

You do not have permission to view the full content of this post. Log in or register now.
  1. L

    Help! baka may makatulong po, simple PHP web app na gagawa ng simple batch script at save it also as .bat

    Help! baka may makatulong po, simple PHP web app na gagawa ng simple batch script at save it also as .bat, sana po may makatulong, kailangan ko lang sa aking project po.
  2. D

    Tutorial Create your own widows batch file debloater (system apps remover) script NO ROOT

    Requirements: PC Working ADB/Fastboot Package name viewer 2.0 app (download in playstore) any text editor app (recommended Quickedit from playstore) 1. Install package name viewer 2. Download my debloater.bat file (below) 3. Edit the file and add or remove package names (open package name...
  3. D

    Closed auto archiving file

    guys pahelp, gusto ko sana gumawa ng batch file archiving individual files in a batch as individual zipped files. ibigsabihin bawat isang file mag zizip sya individually hindi iisang archive sa lahat nang file
  4. T

    Closed App: ******'s box (homemade folder hider)

    Nag trip ako mag code sa .bat sana mag work sa inyo.. How to use. Steps: 1.)Extract from winrar. 2.)Open the software. Note: sa una mag au-auto close sya gagawa sya ng folder na paglalagayan mo ng files "My_Files". 3.)Put your desired files to be hidden. 4.)Re open mo ang software. Mag...
  5. N

    Closed Show hide files (batch)

    (Note: change file from .txt to .cmd to work) at dahil wala talaga akong magawa and out of curiosity, gumawa din ako ng batch file na nakakapag hide or show ng files. para gumana ang program na eto, icopy nyo muna ito sa folder kung saan located ang file o folder na gusto nyong itago para file...
  6. N

    Closed Simple batch program for creating wifi hotspot

    need to run po as administrator. nagawa ko lang out of curiosity. gagana po sa kahit anong version ng windows. baka lang may matulongan ako nito :) change nyo po muna ang file extension to .cmd para gumana :)
  7. S

    Useful Application using batch file

    patulong naman po, paano po ba makagawa ng useful na application na pwede kong magamit as student. paturo at patulong po sa mga codes kung paano gamitin. maraming salamat po sa inyo:cat:(y)(y)