or?
path | mtr -o -x+ - .*= = "" ; = \r\n MiniTrue
or?
path | sed -e s/.*=// -e s/;/\r\n/g
which work in Win98 and AFAICS ought to elsewhere.
> 116} How do I get a list all the *.BAT files which are at path?
or?
HUNT *.bat x p1 e o
and (not recommended) HUNT *.bat x p e "" n will execute them all.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
I find MiniTrue useful for viewing/searching/altering files, at a DOS prompt;
free, DOS/Win/UNIX, <URL:http://www.idiotsdelight.net/minitrue/>
Thanks, John. I included the sed solution for the next update.
> which work in Win98 and AFAICS ought to elsewhere.
>
>
> > 116} How do I get a list all the *.BAT files which are at path?
>
> or?
> HUNT *.bat x p1 e o
> and (not recommended) HUNT *.bat x p e "" n will execute them all.
I also included the reference to your posting.
(alt.msdos.batch.nt added)
All the best, Timo
--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
mailto:t...@uwasa.fi <http://www.uwasa.fi/~ts/> ; FIN-65101, Finland
Useful script files and tricks ftp://garbo.uwasa.fi/pc/link/tscmd.zip