home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 11 
 Richard Webb to all 
 huh? maybe I"m dense, but ...  
 03 Apr 11 19:26:06 
 
HI folks,


Maybe I'm a bit slow on the uptake but this imho should
work.

USing Timo from FInland's little tool basexten.exe to
capture the extension of a file to an environ var.
Say in this case, the current nodelist, so we capture it as
an environ var of 091 as %BASEXTEN% when called for.

So then we try to look for
if exist NODELIST.%BASEXTEN% goto yes
goto nope

OF course "yes and "nope" indicate to us which we got.

I've found this before iirc when trying to look for a file
with an extension indicated by an environment variable.  OF
course this is dos 6.22.
THoughts anyone?


Regards,
           Richard
--- timEd 1.10.y2k+
 * Origin:  (1:116/901)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca