home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1995 November
/
PCWK1195.iso
/
inne
/
podstawy
/
dos
/
4dos
/
4uzytki
/
ez-btm11.exe
/
LOADER.ZIP
/
DF.BTM
< prev
next >
Wrap
Text File
|
1993-12-08
|
859b
|
37 lines
@echo off
:DF.BTM
: This is a batch to load DF.COM with various features explained
: in NB.BTM
:
rem The following procedure makes it possible to know when
rem shelling out from DF, whether DF is run on top of another
rem program, or from DOS, and whether this is a first DF, or
rem any subsequent DF
set df=c:\ut\df.com
^^^
iff not "%pgm"=="" then set oldpgm=%pgm^Set pgm=df(%pgm)
else
set pgm=df
endiff
if not %$d == %_lastdisk set $d=%_lastdisk
if %_4ver lt 5 (history > %$d:\history.log ^ hif)
%df %&
:---------------------------quitting DF---------------------------------
set pgm=%oldpgm
set oldpgm=
set df=
if %_4ver lt 5 gosub history
quit
:history ;; Only for versions prior to 5.x
iff exist %$d:\history.log then
history /f
history /r %$d:\history.log
del /q %$d:\history.log
endiff
return