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

Re: DTFS



Reply to note from Harry Binswanger  Thu, 31 Mar
2005 12:43:38 -0500

> I get a path not found error when I answer "y" to delete. An
> ampersand appears in the prompt field, and the file isn't
> actually deleted.

Yes, I've begun to see that, too. There's a bug in Editor that
sometimes causes VA$DR to lose the path and wrongly locate files in
the root directory. It happens unpredictably and, when it does,
there's nothing for it except to quit and restart XyWrite. I can
work around it here, though.

> Also, shouldn't it automatically skip any ectories?

Right you are. Now, it does.

> I remain, your gift-horse-in-mouth-looker,

Let me trot it out again:

XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5DTFs*}} "Delete These FileS" (with verification) [CLD rev
{046}#2 3/31/05][cr|lf]{002};*;[cr|lf];*; Usage: DTFS[/sort_orde
r] [d:\path\filespec][cr|lf];*; Cycles through matc
hing files (earliest dates first)[cr|lf];*;  or through DIR
ectory listing, if displayed in current window[cr|lf];*; Def
ault filespec (no arg, no DIR displayed) = *.*[cr|lf];*; Def
ault sort_order = D (sort by Date, earliest first)[cr|lf];*;{032}
  [cr|lf]{<}IF0+{<}VA$WA{>}<1{>}{<}PRNo window{>}{<}EX{>}{<
}EI{>}[BX_]es 1[Q2_]{<}SV01,D{>}{<}SX02,{<}VA@50{>}{>}{<}IF{<
}VA$FR{>}{240}"/"{>}{<}SX01,{<}VA$FR{>}{>}{<}SX01,{<}VA@01/2{
>}{>}{<}EI{>}{<}IF{<}VA|50{>}<1{>}{<}SV50,*.*{>}{<}EI{>}{<}IF
"\"{238}{<}IS50{>}<0&":"{238}{<}IS50{>}<0{>}{<}SX03,{<}VA$PA{
>}{>}{<}IF{<}VA$WS{>}>1{>}{<}SX03,{<}VA$DP{>}{>}{<}EI{>}{<}SX
50,{<}IS03{>}+"\"+{<}IS50{>}{>}{<}EI{>}{<}IF0+{<}VA$WS{>}<2!{
<}VA|02{>}>0{>}[BX_]exist {<}PV50{>}[Q2_]{<}IF{<}ER{>}{>}{<}P
RNo matching files{>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