Subversion Repositories SvarDOS

Rev

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