Subversion Repositories SvarDOS

Rev

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