QCAL
— display a
quick-and-dirty calendar.
Syntax:
QCAL
[date | [month] [year]] /3 /6 /C:
country /D /E /H /H:
date,
date… /I /L /N /P /W:
dow /Y
/3 | display a three-month calendar |
/6 | display a six-month calendar |
/C: country | specify a section in Holidays.ini; implies /H |
/D | disable color |
/E | display English names for months and days of the week |
/H | highlight annual holidays |
/H: date… | highlight the specified holidays |
/I | display ISO week numbers |
/L | list holiday names; use in combination with /H or /C |
/N | don’t highlight today’s date |
/P | pause after each screenful |
/W: dow | day of the week in the left column (1 = Monday, 2 = Tuesday, etc.; or MON … SUN) |
/Y | display a one-year calendar |
You may specify any one of: a full date, in
any input date format supported by this
plugin; a month (1 - 12, or JAN - DEC), and/or a four-digit
year; or nothing, in which case QCAL
will default to today’s
date. If only a year is specified, then QCAL
will display a
calendar for the entire year; otherwise, it will show a one-month calendar
by default. If a month is specified without a year, QCAL
will
assume the current year if the specified month is greater than or equal to
the current month, or next year if the specified month is less than the
current month.
If you want to specify a date using its MS-DOS day number, prefix a
+
or -
sign; otherwise QCAL
may
misinterpret it as a month or a year.
If /I
is specified, QCAL
will automatically put Mondays on the left, unless directed otherwise with
/W:
dow. The
week numbers shown are for the
leftmost valid date in each row — this is tolerably obvious
when Mondays are on the left, but less intuitive in other arrangements.
/H:
date…
allows you to specify a list of dates to highlight. Dates may be entered
in any supported format; separate them with commas or
semicolons. You can use functions like
@HOLIDAY
or
@EASTER
to compute the dates. If
/H
is typed without any dates, QCAL will attempt to read a list of
local annual holidays from Holidays.ini; failing that, a
built-in list of common United States holidays
will be used by default.
Note that /H
and /H:
date…
are basically two different options. The first reads a default set of annual
holidays from a list; the second highlights specific dates listed on the command
line. You can use either option alone, or combine them to highlight the default
holidays and the dates specified on the command line.
QCAL
’s output may be piped or redirected.
See also: List of default holidays.
• New: This command does not exist in Take Command.