//help/help-de/newbie.ama |
---|
304,9 → 304,9 |
auch ein externer Befehl ist, kann auch |
"path C:\SVARDOS;C:\SVARDOS\NLS" (ohne set und =) funktionieren! |
"set TEMP=C:\TEMP" (Verz. für temporäre Dateien, %TEMP% steht für C:\TEMP) |
"set DOSDIR=C:\SVARDOS" (%DOSDIR% bedeutet jetzt: C:\SVARDOS) |
"set NLSPATH =%DOSDIR%\NLS (%NLSPATH% bedeutet jetzt C:\SVARDOS\NLS) |
"set TEMP=C:\TEMP" (Verz. für temporäre Dateien, %%TEMP%% steht für C:\TEMP) |
"set DOSDIR=C:\SVARDOS" (%%DOSDIR%% bedeutet jetzt: C:\SVARDOS) |
"set NLSPATH =%%DOSDIR%%\NLS (%%NLSPATH%% bedeutet jetzt C:\SVARDOS\NLS) |
"set TZ=UTC" (für Zeitzoneneinstellungen) oder |
"set LANG=DE" (für Spracheinstellungen) oder |
"set OS_VERSION=1.3" usw. |
319,7 → 319,7 |
"set variable=" löscht eine Variable, das ist gefährlich, siehe oben! |
Beispiel (funktioniert in FreeDOS als bat-Datei und in der Kommandozeile, |
aber in SvarDOS NUR in der BATCH): |
"echo Die aktuelle SvarDOS-Version ist: %OS_VERSION ." |
"echo Die aktuelle SvarDOS-Version ist: %%OS_VERSION%%." |
zeigt: |
"Die aktuelle SvarDOS-Version ist: 1.3 ." |
Es gäbe noch viele Dinge, die mit der autoexec.bat gemacht werden können, |
333,4 → 333,4 |
Vielen Dank fürs Lesen! |
Willi Spiegl |
Willi Spiegl |
//help/help-en/newbie.ama |
---|
272,9 → 272,9 |
different files with the same name in these folders!). As the path command is |
also an external command, the following version works too: |
"path C:\SVARDOS;C:\SVARDOS\NLS" (no set and no =). |
"set TEMP=C:\TEMP" (folder for temporary files,%TEMP% now means: C:\TEMP) |
"set DOSDIR=C:\SVARDOS" (%DOSDIR% now means: C:\SVARDOS) |
"set NLSPATH =%DOSDIR%\NLS" (%NLSPATH now means: C:\SVARDOS\NLS) |
"set TEMP=C:\TEMP" (folder for temporary files,%%TEMP%% now means: C:\TEMP) |
"set DOSDIR=C:\SVARDOS" (%%DOSDIR%% now means: C:\SVARDOS) |
"set NLSPATH =%%DOSDIR%%\NLS" (%%NLSPATH%% now means: C:\SVARDOS\NLS) |
"set TZ=UTC" (for timezone settings) or |
"set LANG=DE" (for language settings) or |
"set OS_VERSION=1.3" and so on. |
287,7 → 287,7 |
"set variable=" deletes a variable, this is dangerous, see above! |
Example (works in FreeDOS as batch file and command line, but in SvarDOS ONLY |
as a batch file, not in command line!): |
"echo The current version of SvarDOS is: %OS_VERSION%" . |
"echo The current version of SvarDOS is: %%OS_VERSION%%" . |
shows: |
"The current version of SvarDOS is 1.3" ." |
There are more things that can be used by autoexec.bat, but this leads too |