home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of German Only 1
/
romside_best_of_german_only_1.iso
/
doshelp
/
fdir
/
entpack.exe
/
!FDIR23.EXE
/
FENV.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1992-10-27
|
476b
|
18 lines
{ Diese Programm gibt im ERRORLEVEL zurück
welche Umgebungsvariablen existieren.
1 = FDIR
2 = FDIRSIK
3 = FDIR und FDIRSIK
4 = Keine von beiden}
{$X-,B-,V+,A+,F-,O-,N-,E-,D-,L-,S+,R-,G-}
USES DOS;
Begin
if (GetEnv('FDIR') = '') and (GetEnv('FDIRSIK') = '') then Halt(4);
if (GetEnv('FDIR') <> '') and (GetEnv('FDIRSIK') <> '') then Halt(3);
if (GetEnv('FDIRSIK') <> '') then Halt(2);
if (GetEnv('FDIR') <> '') then Halt(1);
End.