Subversion Repositories SvarDOS

Rev

Rev 1844 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
515 mateuszvis 1
#
1028 bttr 2
# SvarCOM language file
515 mateuszvis 3
#
1028 bttr 4
# Language...: English
5
# Authors....: Mateusz Viste, Robert Riebisch
1734 bttr 6
# Last update: 17 Feb 2024
515 mateuszvis 7
#
8
 
542 mateuszvis 9
# GENERIC MESSAGES USED BY MULTIPLE INTERNAL COMMANDS
10
0.1:Invalid syntax
11
0.2:Invalid switch
12
0.3:Invalid parameter format
13
0.4:Too many parameters
989 mateusz.vi 14
0.5:Bad command or file name
15
0.6:Invalid parameter
16
0.7:Required parameter missing
990 mateusz.vi 17
0.8:Invalid destination
1090 mateusz.vi 18
0.9:This command is not implemented
542 mateuszvis 19
 
1001 mateusz.vi 20
# the message below MUST be a two-letter UPPER-CASE string for "Yes/No" keys
990 mateusz.vi 21
# that user can press to answer interactive "Yes/No" questions
22
0.10:YN
23
 
989 mateusz.vi 24
# SVARCOM HELP SCREEN
1084 bttr 25
1.0:Starts the SvarCOM command interpreter.
1001 mateusz.vi 26
1.1:COMMAND /E:nnn [/P] [/D] [/Y] [/[C|K] command]
989 mateusz.vi 27
1.2:/D      Skip AUTOEXEC.BAT processing (makes sense only with /P)
28
1.3:/E:nnn  Sets the environment size to nnn bytes
29
1.4:/P      Makes the new command interpreter permanent and run AUTOEXEC.BAT
30
1.5:/C      Executes the specified command and returns
31
1.6:/K      Executes the specified command and continues running
1001 mateusz.vi 32
1.7:/Y      Executes the batch program step by step (only with /P, /K or /C)
989 mateusz.vi 33
 
34
# VARIOUS SVARCOM MESSAGES
35
2.0:SVARCOM VERSION CHANGED. SYSTEM HALTED. PLEASE REBOOT YOUR COMPUTER.
36
2.1:FATAL ERROR: rmod_install() failed
37
2.2:SvarCOM: stack overflow detected, command history flushed (this is not a bug)
38
 
1881 mateusz.vi 39
# CRITICAL HANDLER (INT 24H) - EACH MESSAGE MUST BE NO LONGER THAN 15 BYTES!
40
3.0:CRITICAL ERROR
41
3.1:READ FAILURE
42
3.2:WRITE FAILURE
43
3.3:(A)bort
44
3.4:(R)etry
45
3.5:(I)gnore
46
3.6:(F)ail
47
# THESE ARE THE 4 KEYS FOR "Abort Retry Ignore Fail" (MUST BE IN UPPER CASE):
48
3.9:ARIF
49
 
989 mateusz.vi 50
# CLS
1084 bttr 51
10.0:Clears the screen.
989 mateusz.vi 52
 
53
# CHCP
54
11.0:Displays or sets the active code page number.
55
11.1:CHCP [nnn]
56
11.2:nnn  Specifies a code page number
57
11.3:Type CHCP without a parameter to display the active code page number.
58
11.4:Invalid code page number
59
11.5:NLSFUNC not installed
60
11.6:Failed to change code page
61
11.7:Active code page:
62
 
63
# CD / CHDIR
64
12.0:Displays the name of or changes the current directory.
65
12.1:CHDIR [drive:][path]
66
12.2:CHDIR[..]
67
12.3:CD [drive:][path]
68
12.4:CD[..]
69
12.5:.. Specifies that you want to change to the parent directory.
70
12.6:Type CD drive: to display the current directory in the specified drive.
71
12.7:Type CD without parameters to display the current drive and directory.
72
 
73
# CALL
1084 bttr 74
13.0:Calls one batch program from another.
989 mateusz.vi 75
13.1:CALL [drive:][path]filename [batch-parameters]
76
 
77
# BREAK
1084 bttr 78
14.0:Sets or clears extended CTRL+C checking.
989 mateusz.vi 79
14.1:Type BREAK without a parameter to display the current BREAK setting.
80
14.2:BREAK is off
81
14.3:BREAK is on
82
 
515 mateuszvis 83
# PAUSE
1084 bttr 84
15.0:Suspends the execution of a batch script.
515 mateuszvis 85
15.1:Press any key to continue...
86
 
87
# SHIFT
88
16.0:Changes the position of arguments in a batch file:
89
16.1:Argument %1 becomes %0, argument %2 becomes %1, etc.
538 mateuszvis 90
 
964 mateusz.vi 91
# GOTO
92
17.0:Directs batch processing to a labelled line in the batch program.
93
17.1:GOTO LABEL
94
17.2:LABEL specifies a text string used in the batch program as a label.
95
17.3:A label is on a line by itself and must be preceded by a colon.
96
17.10:Label not found
97
 
982 mateusz.vi 98
# FOR
1087 bttr 99
18.0:Runs a specified command for each element in a list.
100
18.1:FOR %variable IN (list) DO command [parameters]
101
18.2:%variable   Single-letter variable (a-z or A-Z).
102
18.3:(list)      One or more space-separated strings or filename wildcards.
103
18.4:command     The command to carry out for each element. %variable allowed.
1028 bttr 104
18.5:parameters  Parameters or switches for the specified command.
982 mateusz.vi 105
18.6:To use FOR in a batch program, use %%variable instead of %variable.
1023 mateusz.vi 106
18.7:FOR cannot be nested
982 mateusz.vi 107
 
989 mateusz.vi 108
# VERIFY
109
19.0:Tells DOS whether to verify that files are written correctly to disk.
110
19.1:Type VERIFY without a parameter to display its current setting.
111
19.2:VERIFY is off
112
19.3:VERIFY is on
113
19.4:Must specify ON or OFF
114
 
115
# VER
1087 bttr 116
20.0:Displays the DOS kernel and SvarCOM shell versions.
1844 mateusz.vi 117
20.1:DOS kernel version %u.%02u
989 mateusz.vi 118
20.2:SvarCOM shell ver
119
20.3:SvarCOM is a shell interpreter for DOS kernels compatible with MS-DOS 5+.
120
20.4:This software is distributed under the terms of the MIT license.
1056 mateusz.vi 121
20.5:Revision %c
122
20.6:DOS is in %s
123
20.7:low memory
124
20.8:HMA
125
20.9:ROM
1844 mateusz.vi 126
20.10:true version %u.%02u
127
20.11:DR-DOS kernel version %02X%02X
989 mateusz.vi 128
 
129
# TYPE
130
21.0:Displays the contents of a text file.
131
21.1:TYPE [drive:][path]filename
132
 
133
# TIME
134
22.0:Displays or sets the system time.
135
22.1:TIME [time]
136
22.2:Type TIME with no parameters to display the current time and a prompt for a\r\nnew one. Press ENTER to keep the same time.
137
22.3:Current time is
138
22.4:Invalid time
139
22.5:Enter new time:
140
 
141
# SET
142
23.0:Displays, sets, or removes DOS environment variables.
143
23.1:SET [variable=[string]]
144
23.2:variable  Specifies the environment-variable name
145
23.3:string    Specifies a series of characters to assign to the variable
146
23.4:Type SET without parameters to display the current environment variables.
147
23.5:Not enough available space within the environment block
148
 
149
# RD / RMDIR
1084 bttr 150
24.0:Removes (deletes) a directory.
989 mateusz.vi 151
24.1:RMDIR [drive:]path
152
24.2:RD [drive:]path
153
 
154
# REN / RENAME
1088 bttr 155
25.0:Renames one or more files or directories.
1084 bttr 156
25.1:RENAME [drive:][path]oldname newname
157
25.2:REN [drive:][path]oldname newname
158
25.3:Note that you cannot specify a new drive or path for newname.\r\nUse MOVE to move files from one directory to another.
989 mateusz.vi 159
 
160
# REM
1084 bttr 161
26.0:Records comments (remarks) in a batch file.
989 mateusz.vi 162
26.1:REM [comment]
163
 
164
# PATH
165
27.0:Displays or sets a search path for executable files.
166
27.1:PATH [[drive:]path[;...]]
167
27.2:Type PATH ; to clear all search-path settings and direct DOS to search\r\nonly in the current directory.
168
27.3:Type PATH without parameters to display the current path.
169
27.4:No Path
170
 
171
# MD / MKDIR
1084 bttr 172
28.0:Creates a directory.
989 mateusz.vi 173
28.1:MKDIR [drive:]path
174
28.2:MD [drive:]path
175
 
176
# LN
177
29.0:Adds, deletes or displays executable links.
178
29.1:LN ADD linkname targetdir
179
29.2:LN DEL linkname
180
29.3:LN LIST [pattern]
181
29.4:No matching executable found in given path.
182
29.5:%DOSDIR% not defined
183
 
184
# EXIT
1084 bttr 185
30.0:Quits the COMMAND.COM program (command interpreter).
989 mateusz.vi 186
 
187
# ECHO
1084 bttr 188
31.0:Displays messages, or turns command-echoing on or off.
989 mateusz.vi 189
31.1:ECHO [message]
190
31.2:Type ECHO without parameters to display the current echo setting.
191
31.3:ECHO is on
192
31.4:ECHO is off
193
 
194
# DATE
195
32.0:Displays or sets the system date.
196
32.1:DATE [date]
197
32.2:Type DATE with no parameters to display the current date and a prompt for a\r\nnew one. Press ENTER to keep the same date.
198
32.3:Invalid date
199
32.4:Current date is
200
32.5:Enter new date:
201
 
202
# PROMPT
203
33.0:Changes the DOS command prompt.
204
33.1:PROMPT [new command prompt specification]
205
 
990 mateusz.vi 206
# VOL
207
34.0:Displays the disk volume label and serial number, if they exist.
208
34.1:VOL [drive:]
209
34.2:Volume in drive %c has no label
210
34.3:Volume in drive %c is %s
211
34.4:Volume Serial Number is %04X-%04X
212
 
213
# IF
214
35.0:Performs conditional processing in batch programs.
215
35.1:IF [NOT] ERRORLEVEL num command
216
35.2:IF [NOT] string1==string2 command
217
35.3:IF [NOT] EXIST filename command
218
35.4:NOT               command is executed only if condition is NOT met
219
35.5:ERRORLEVEL num    condition: last program returned an exit code >= num
220
35.6:string1==string2  condition: both strings must be equal
1028 bttr 221
35.7:EXIST filename    condition: file filename exists (wildcards accepted)
990 mateusz.vi 222
35.8:command           command to carry out if condition is met
223
 
1031 bttr 224
# DEL / ERASE
990 mateusz.vi 225
36.0:Deletes one or more files.
226
36.1:DEL [drive:][path]filename [/P]
227
36.2:ERASE [drive:][path]filename [/P]
228
36.3:[drive:][path]filename  Specifies the file(s) to delete.
229
36.4:/P  Prompts for confirmation before deleting each file.
230
36.5:All files in directory will be deleted!
1001 mateusz.vi 231
36.6:Are you sure?
232
36.7:Delete?
990 mateusz.vi 233
 
234
# DIR
235
37.0:Displays a list of files and subdirectories in a directory.
1028 bttr 236
37.1:DIR [drive:][path][filename] [/P] [/W] [/A[:]attributes] [/O[[:]sortorder]]\r\n    [/S] [/B] [/L]
990 mateusz.vi 237
37.2:/P Pauses after each screenful of information
238
37.3:/W Uses wide list format
239
37.4:/A Displays files with specified attributes:
240
37.5:    D Directories            R Read-only files        H Hidden files
241
37.6:    A Ready for archiving    S System files           - prefix meaning "not"
242
37.7:/O List files in sorted order:
243
37.8:    N by name                S by size                E by extension
1028 bttr 244
37.9:    D by date                G group dirs first       - prefix to reverse order
990 mateusz.vi 245
37.10:/S Displays files in specified directory and all subdirectories
246
37.11:/B Uses bare format (no heading information or summary)
247
37.12:/L Uses lowercases
248
37.20:Directory of %s
249
37.21:<DIR>
250
37.22:file(s)
251
37.23:bytes
252
37.24:bytes free
253
 
254
# COPY
255
38.0:Copies one or more files to another location.
256
38.1:COPY [/A|/B] source [/A|/B] [+source [/A|/B] [+...]] [destination [/A|/B]] [/V]
257
38.2:source       Specifies the file or files to be copied
258
38.3:/A           Indicates an ASCII text file
259
38.4:/B           Indicates a binary file
260
38.5:destination  Specifies the directory and/or filename for the new file(s)
261
38.6:/V           Verifies that new files are written correctly
262
38.7:To append files, specify a single file for destination, but multiple files\r\nfor source (using wildcards or file1+file2+file3 format).
1028 bttr 263
38.8:NOTE: /A and /B are no-ops (ignored), provided only for compatibility reasons.\r\nCOPY assumes binary always.
990 mateusz.vi 264
38.9:%u file(s) copied
265
 
1045 mateusz.vi 266
# TRUENAME
267
39.0:Returns a fully qualified path or filename.
1051 bttr 268
39.1:TRUENAME [[drive:][path][filename]]
1045 mateusz.vi 269
 
1734 bttr 270
# LH / LOADHIGH
1730 mateusz.vi 271
40.0:Loads a program into the upper memory area.
272
40.1:[drive:][path]filename [parameters]
273
40.2:parameters: any arguments required by the program you want to load.
274
 
538 mateuszvis 275
# DOS ERRORS
276
255.1:Function number invalid
277
255.2:File not found
278
255.3:Path not found
279
255.4:Too many open files (no handles available)
280
255.5:Access denied
281
255.6:Invalid handle
282
255.7:Memory control block destroyed
283
255.8:Insufficient memory
284
255.9:Memory block address invalid
285
255.10:Environment invalid
286
255.11:Format invalid
287
255.12:Access code invalid
288
255.13:Data invalid
289
255.15:Invalid drive
540 mateuszvis 290
255.16:Attempted to remove current directory
538 mateuszvis 291
255.17:Not same device
292
255.18:No more files
293
255.19:Disk write-protected
294
255.20:Unknown unit
295
255.21:Drive not ready
296
255.22:Unknown command
297
255.23:Data error (CRC)
298
255.24:Bad request structure length
299
255.25:Seek error
300
255.26:Unknown media type (non-DOS disk)
301
255.27:Sector not found
302
255.28:Printer out of paper
303
255.29:Write fault
304
255.30:Read fault
305
255.31:General failure
306
255.32:Sharing violation
307
255.33:Lock violation
308
255.34:Disk change invalid
309
255.35:FCB unavailable
310
255.36:Sharing buffer overflow
311
255.37:Code page mismatch
312
255.38:Cannot complete file operations (EOF / out of input)
313
255.39:Insufficient disk space
1046 mateusz.vi 314
255.80:File already exists