Subversion Repositories SvarDOS

Rev

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