home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1995 November
/
PCWK1195.iso
/
inne
/
podstawy
/
dos
/
4dos
/
4uzytki
/
ez-btm11.exe
/
LOADER.ZIP
/
PED.BTM
< prev
next >
Wrap
Text File
|
1993-12-08
|
809b
|
31 lines
:PED.BTM
: This batch loads PED with extra features explained in NB.BTM
:
rem The following procedure makes it possible to know when
rem shelling out from PED, whether PED is run on top of another
rem program, or from DOS, and whether this is a first PED, or
rem any subsequent PED
iff not "%pgm"=="" then set oldpgm=%pgm^Set pgm=ped(%pgm)
else
set pgm=ped
endiff
if not %$d == %_lastdisk set $d=%_lastdisk
if %_4ver lt 5 (history > %$d:\history.log ^ history /f)
ped.exe %1&
:---------------------------quitting PED---------------------------------
set pgm=%oldpgm
set oldpgm=
if %_4ver lt 5 gosub history
cls
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