Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:bat_files [2018/07/18 11:43] (current)
2SRTVF created
Line 1: Line 1:
 +{{htmlmetatags>​
 +metatag-keywords=(sample,​code,​batch,​cmd,​windows,​merge,​text) ​
 +metatag-description=(Batch files)
 +}}
 +==== Batch files ====
 +\\ 
 +A batch file is a kind of script file in DOS, Microsoft Windows.\\
 +It consists of a series of commands to be executed by the command-line interpreter,​ stored in a plain text file.\\ ​
 +\\ 
 +
 +=== Merge text files that have the same name ===
 +
 +Files are searched recursively,​ starting from the location directory of the executable batch file.
 +
 +<file dos TextFilesMerge.bat>​
 +
 +for /R %%f in (data.txt) do type "​%%%f"​ >> data.txt
 +
 +</​file>​
  
  • en/bat_files.txt
  • Last modified: 2018/07/18 11:43
  • by 2SRTVF