Subversion Repositories SvarDOS

Rev

Rev 1730 | Rev 1844 | 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.
989 mateusz.vi 106
20.1:DOS kernel version %u.%u
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
1079 mateusz.vi 115
20.10:true version %u.%u
989 mateusz.vi 116
 
117
# TYPE
118
21.0:Displays the contents of a text file.
119
21.1:TYPE [drive:][path]filename
120
 
121
# TIME
122
22.0:Displays or sets the system time.
123
22.1:TIME [time]
124
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.
125
22.3:Current time is
126
22.4:Invalid time
127
22.5:Enter new time:
128
 
129
# SET
130
23.0:Displays, sets, or removes DOS environment variables.
131
23.1:SET [variable=[string]]
132
23.2:variable  Specifies the environment-variable name
133
23.3:string    Specifies a series of characters to assign to the variable
134
23.4:Type SET without parameters to display the current environment variables.
135
23.5:Not enough available space within the environment block
136
 
137
# RD / RMDIR
1084 bttr 138
24.0:Removes (deletes) a directory.
989 mateusz.vi 139
24.1:RMDIR [drive:]path
140
24.2:RD [drive:]path
141
 
142
# REN / RENAME
1088 bttr 143
25.0:Renames one or more files or directories.
1084 bttr 144
25.1:RENAME [drive:][path]oldname newname
145
25.2:REN [drive:][path]oldname newname
146
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 147
 
148
# REM
1084 bttr 149
26.0:Records comments (remarks) in a batch file.
989 mateusz.vi 150
26.1:REM [comment]
151
 
152
# PATH
153
27.0:Displays or sets a search path for executable files.
154
27.1:PATH [[drive:]path[;...]]
155
27.2:Type PATH ; to clear all search-path settings and direct DOS to search\r\nonly in the current directory.
156
27.3:Type PATH without parameters to display the current path.
157
27.4:No Path
158
 
159
# MD / MKDIR
1084 bttr 160
28.0:Creates a directory.
989 mateusz.vi 161
28.1:MKDIR [drive:]path
162
28.2:MD [drive:]path
163
 
164
# LN
165
29.0:Adds, deletes or displays executable links.
166
29.1:LN ADD linkname targetdir
167
29.2:LN DEL linkname
168
29.3:LN LIST [pattern]
169
29.4:No matching executable found in given path.
170
29.5:%DOSDIR% not defined
171
 
172
# EXIT
1084 bttr 173
30.0:Quits the COMMAND.COM program (command interpreter).
989 mateusz.vi 174
 
175
# ECHO
1084 bttr 176
31.0:Displays messages, or turns command-echoing on or off.
989 mateusz.vi 177
31.1:ECHO [message]
178
31.2:Type ECHO without parameters to display the current echo setting.
179
31.3:ECHO is on
180
31.4:ECHO is off
181
 
182
# DATE
183
32.0:Displays or sets the system date.
184
32.1:DATE [date]
185
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.
186
32.3:Invalid date
187
32.4:Current date is
188
32.5:Enter new date:
189
 
190
# PROMPT
191
33.0:Changes the DOS command prompt.
192
33.1:PROMPT [new command prompt specification]
193
 
990 mateusz.vi 194
# VOL
195
34.0:Displays the disk volume label and serial number, if they exist.
196
34.1:VOL [drive:]
197
34.2:Volume in drive %c has no label
198
34.3:Volume in drive %c is %s
199
34.4:Volume Serial Number is %04X-%04X
200
 
201
# IF
202
35.0:Performs conditional processing in batch programs.
203
35.1:IF [NOT] ERRORLEVEL num command
204
35.2:IF [NOT] string1==string2 command
205
35.3:IF [NOT] EXIST filename command
206
35.4:NOT               command is executed only if condition is NOT met
207
35.5:ERRORLEVEL num    condition: last program returned an exit code >= num
208
35.6:string1==string2  condition: both strings must be equal
1028 bttr 209
35.7:EXIST filename    condition: file filename exists (wildcards accepted)
990 mateusz.vi 210
35.8:command           command to carry out if condition is met
211
 
1031 bttr 212
# DEL / ERASE
990 mateusz.vi 213
36.0:Deletes one or more files.
214
36.1:DEL [drive:][path]filename [/P]
215
36.2:ERASE [drive:][path]filename [/P]
216
36.3:[drive:][path]filename  Specifies the file(s) to delete.
217
36.4:/P  Prompts for confirmation before deleting each file.
218
36.5:All files in directory will be deleted!
1001 mateusz.vi 219
36.6:Are you sure?
220
36.7:Delete?
990 mateusz.vi 221
 
222
# DIR
223
37.0:Displays a list of files and subdirectories in a directory.
1028 bttr 224
37.1:DIR [drive:][path][filename] [/P] [/W] [/A[:]attributes] [/O[[:]sortorder]]\r\n    [/S] [/B] [/L]
990 mateusz.vi 225
37.2:/P Pauses after each screenful of information
226
37.3:/W Uses wide list format
227
37.4:/A Displays files with specified attributes:
228
37.5:    D Directories            R Read-only files        H Hidden files
229
37.6:    A Ready for archiving    S System files           - prefix meaning "not"
230
37.7:/O List files in sorted order:
231
37.8:    N by name                S by size                E by extension
1028 bttr 232
37.9:    D by date                G group dirs first       - prefix to reverse order
990 mateusz.vi 233
37.10:/S Displays files in specified directory and all subdirectories
234
37.11:/B Uses bare format (no heading information or summary)
235
37.12:/L Uses lowercases
236
37.20:Directory of %s
237
37.21:<DIR>
238
37.22:file(s)
239
37.23:bytes
240
37.24:bytes free
241
 
242
# COPY
243
38.0:Copies one or more files to another location.
244
38.1:COPY [/A|/B] source [/A|/B] [+source [/A|/B] [+...]] [destination [/A|/B]] [/V]
245
38.2:source       Specifies the file or files to be copied
246
38.3:/A           Indicates an ASCII text file
247
38.4:/B           Indicates a binary file
248
38.5:destination  Specifies the directory and/or filename for the new file(s)
249
38.6:/V           Verifies that new files are written correctly
250
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 251
38.8:NOTE: /A and /B are no-ops (ignored), provided only for compatibility reasons.\r\nCOPY assumes binary always.
990 mateusz.vi 252
38.9:%u file(s) copied
253
 
1045 mateusz.vi 254
# TRUENAME
255
39.0:Returns a fully qualified path or filename.
1051 bttr 256
39.1:TRUENAME [[drive:][path][filename]]
1045 mateusz.vi 257
 
1734 bttr 258
# LH / LOADHIGH
1730 mateusz.vi 259
40.0:Loads a program into the upper memory area.
260
40.1:[drive:][path]filename [parameters]
261
40.2:parameters: any arguments required by the program you want to load.
262
 
538 mateuszvis 263
# DOS ERRORS
264
255.1:Function number invalid
265
255.2:File not found
266
255.3:Path not found
267
255.4:Too many open files (no handles available)
268
255.5:Access denied
269
255.6:Invalid handle
270
255.7:Memory control block destroyed
271
255.8:Insufficient memory
272
255.9:Memory block address invalid
273
255.10:Environment invalid
274
255.11:Format invalid
275
255.12:Access code invalid
276
255.13:Data invalid
277
255.15:Invalid drive
540 mateuszvis 278
255.16:Attempted to remove current directory
538 mateuszvis 279
255.17:Not same device
280
255.18:No more files
281
255.19:Disk write-protected
282
255.20:Unknown unit
283
255.21:Drive not ready
284
255.22:Unknown command
285
255.23:Data error (CRC)
286
255.24:Bad request structure length
287
255.25:Seek error
288
255.26:Unknown media type (non-DOS disk)
289
255.27:Sector not found
290
255.28:Printer out of paper
291
255.29:Write fault
292
255.30:Read fault
293
255.31:General failure
294
255.32:Sharing violation
295
255.33:Lock violation
296
255.34:Disk change invalid
297
255.35:FCB unavailable
298
255.36:Sharing buffer overflow
299
255.37:Code page mismatch
300
255.38:Cannot complete file operations (EOF / out of input)
301
255.39:Insufficient disk space
1046 mateusz.vi 302
255.80:File already exists