Subversion Repositories SvarDOS

Rev

Rev 1818 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1818 Rev 1819
Line 270... Line 270...
270
  "sved" at C:\SVARDOS and then C:\SVARDOS\NLS). It opens the first found
270
  "sved" at C:\SVARDOS and then C:\SVARDOS\NLS). It opens the first found
271
correct hit, all others are ignored. This may cause mistakes if you have
271
correct hit, all others are ignored. This may cause mistakes if you have
272
different files with the same name in these folders!). As the path command is
272
different files with the same name in these folders!). As the path command is
273
also an external command, the following version works too:
273
also an external command, the following version works too:
274
  "path C:\SVARDOS;C:\SVARDOS\NLS" (no set and no =).
274
  "path C:\SVARDOS;C:\SVARDOS\NLS" (no set and no =).
275
  "set TEMP=C:\TEMP" (folder for temporary files,%TEMP% now means: C:\TEMP)
275
  "set TEMP=C:\TEMP" (folder for temporary files,%%TEMP%% now means: C:\TEMP)
276
  "set DOSDIR=C:\SVARDOS" (%DOSDIR% now means: C:\SVARDOS)
276
  "set DOSDIR=C:\SVARDOS" (%%DOSDIR%% now means: C:\SVARDOS)
277
  "set NLSPATH =%DOSDIR%\NLS" (%NLSPATH now means: C:\SVARDOS\NLS)
277
  "set NLSPATH =%%DOSDIR%%\NLS" (%%NLSPATH%% now means: C:\SVARDOS\NLS)
278
  "set TZ=UTC" (for timezone settings) or
278
  "set TZ=UTC" (for timezone settings) or
279
  "set LANG=DE" (for language settings) or
279
  "set LANG=DE" (for language settings) or
280
  "set OS_VERSION=1.3" and so on.
280
  "set OS_VERSION=1.3" and so on.
281
To load them automatically to ENVIRONMENT, you can write the commands above
281
To load them automatically to ENVIRONMENT, you can write the commands above
282
into autoexec.bat.
282
into autoexec.bat.
Line 285... Line 285...
285
do not use a name that already exists. The command:
285
do not use a name that already exists. The command:
286
  "set" without options lists all existing variables,
286
  "set" without options lists all existing variables,
287
  "set variable=" deletes a variable, this is dangerous, see above!
287
  "set variable=" deletes a variable, this is dangerous, see above!
288
Example (works in FreeDOS as batch file and command line, but in SvarDOS ONLY
288
Example (works in FreeDOS as batch file and command line, but in SvarDOS ONLY
289
as a batch file, not in command line!):
289
as a batch file, not in command line!):
290
  "echo The current version of SvarDOS is: %OS_VERSION%" .
290
  "echo The current version of SvarDOS is: %%OS_VERSION%%" .
291
shows:
291
shows:
292
  "The current version of SvarDOS is 1.3" ."
292
  "The current version of SvarDOS is 1.3" ."
293
There are more things that can be used by autoexec.bat, but this leads too
293
There are more things that can be used by autoexec.bat, but this leads too
294
far for a basic introduction.
294
far for a basic introduction.
295
But now you know how you can modify your SvarDOS OS to work with it.
295
But now you know how you can modify your SvarDOS OS to work with it.