[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: how to get back deleted material?



Carl wrote:

> One possibility that
> occurs to me is to change the name or location, or both, of the
> backup, so that inadvertent deletion becomes well-nigh impossible
I have the following U2 frame assigned to ctrl-s (for SAve) and ctrl-e (for STore). It puts the backup file in a directory: C:\BAK under the same filename as the original:

XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5hbsa}} For ctrl-s and ctrl-e: keep bk=0 but get same effe
ct; also if file is U2, calls LoadHelp [HB 10/21/09 rev. CLD{032}
10/22/09][cr|lf]{002}{176}SX01,{176}VA$FP{177}{177}{176}SX02,
{176}VA$U2{177}{177}{176}IF{176}IS01{177}<>{176}IS02{177}{177
};*; regular, non-U2 case[cr|lf]{176}SX02,{176}VA$FI{177}{177
}{176}SV03,{177};*;[cr|lf][BX_]exist {176}PV01{177}[Q2_]{176}
IF@NOT({176}ER{177})&{176}IS01{177}<>("C:\BAK\"+{176}IS02{177
}){177}[BX_]copy/nv {176}PV01{177} C:\BAK\{176}PV02{177}[Q2_]
{176}IF{176}ER{177}{177}{176}SX03,{176}VA$ER{177}{177}{176}SX
03,{176}VA\@03{177}{177}{176}EI{177}{176}EI{177};*; [cr|lf][G
T_]{176}SV01,{177}{176}GT01{177};*; force disk-write without{032}
(even temporarily) modifying file[cr|lf][BX_]sa[Q2_]{176}IF{1
76}ER{177}{177}{176}SX01,{176}VA$ER{177}{177}{176}SX01,{176}V
A\@01{177}{177}{176}SX01,"SAve error: "+{176}IS01{177}{177}{1
76}EI{177}{176}IF{176}VA|03{177}>0{177}{176}SX01,{176}IS01{17
7}+" Backup error: "+{176}IS03{177}{177}{176}EI{177}{176}IF{1
76}VA|01{177}>0{177}{176}PR@01{177}{176}EI{177}{176}EX{177};*
;[cr|lf]{176}EI{177};*;[cr|lf][JM_]2.LH[Q2_]{176}EX{177}{002}
[cr|lf]
-nd
XPLeNCODE

Harry Binswanger
hb@xxxxxxxx