Dos - Date and Time

Card Puncher Data Processing



To get the current date and time, use the two following variables:

  • %DATE% - expands to current date using same format as DATE command.
  • %TIME% - expands to current time using same format as TIME command.

Discover More
Card Puncher Data Processing
Dos - For Statement

The for statement: runs a specified command for each file in a set of files runs a specified command for each directory in a set of directory parses files, string or output of command can create...

Share this page:
Follow us:
Task Runner