Command |
Description |
? |
Play internal commands or prompt
for a command. |
ALIAS |
Create aliases for new or
existing commands. |
ATTRIB |
Change or view file and
directory attributes. |
BEEP |
Beep the speaker. |
CALL |
Execute one batch file from
within another. |
CANCEL |
Terminate batch file processing. |
CD |
Display or change the current
directory. |
CHCP |
Display or change the current
system code page. |
CLS |
Clear the video display and
optionally change colors. |
COLOR |
Change the default display
colors. |
COPY |
Copy data between directories
and files. |
DATE |
Display and optionally change
the system date. |
DEL |
Delete one or more files. |
DELAY |
Pause for a specified length of
time. |
DIR |
Display information about files
and directories. |
ECHO |
Display a message, or control
command echoing. |
EXIT |
Exit from ZHAP. |
FOR |
Repeat a command for several
values of a variable. |
GOTO |
Branch inside the current batch
file. |
HELP |
Display help for internal and
external commands. |
HISTORY |
Display, add to, clear, or read
the history list. |
IF |
Execute a command if specified
conditions are true. |
LOG |
Save a log of commands to a disk
file. |
MD |
Create a subdirectory. |
PATH |
Display or change the system
search path. |
PAUSE |
Suspend batch file or alias
execution. |
PROMPT |
Change the command-line prompt. |
QUIT |
Terminate the current batch file. |
REBOOT |
Do a warm or cold system reboot. |
REM |
Put a comment in a batch file. |
RD |
Remove one or more
subdirectories. |
SET |
Display, create, modify, or
delete environment variables. |
START |
Start a program in another
session. |
TEXT |
Display a block of text in a
batch file. |
TIME |
Display or set the current
system time. |
TYPE |
Display the contents of the
specified file(s). |
VER |
Display the current Zhap and
Windows versions. |
[C:\] ? "Backup now" call backup.batImplanting command should be easy. 4NT uses 6 row displays and it's good. Display partiotion of command is simple for loop, that loop command table and display filenames. Question part can be made of easy loop too.
Backup now (Y/N)?
[C:\] ALIAS
[C:\] ALIAS d
[C:\] ALIAS D=DIR /1
[C:\] ALIAS D=Alias command actually create and maintaince sorted linked list. To get alias command to work need to write
[c:\] chcpSetConsoleCP()
Active code page: 437
0 Black
1 Blue
2 Green
3 Aqua
4 Red
5 Purple
6 Yellow
7 White
8 Gray
9 Light blue
A Light green
B Light aqua
C Light red
D Light purple
E Light yellow
F Bright white
a |
The amphesis charter [&]. |
b | The vertical bar charter [i]. |
c |
The open parenthesis [(]. |
e |
Ascii ASC charter. |
f |
The close parenthesis [)]. |
g |
The greater-than sign [>]. |
h |
Backspace over the previous
charter. |
k |
Current working directory
uppest dir. |
l |
The less than sign [<]. |
p |
The current drive and directory. |
q |
The equal sign (=). |
s |
Space charter. |
$ |
The dollar sign |
_ |
CR/LF |