| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: file ring |
From: Thomas Martin
@Date: Fri, 28 Feb 2003 15:02:37 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au
I must be getting old....
I've been using the ldflist macro "manually", with a .bat file
calling e to
open a list of files for the whole project. I can't believe I didn't think
of it as a solution for this. (Probably because I forgot about the /b
param on "dir". Too much windoze!) :)
So, I will just modify your suggestion slightly, replacing the
"*.txt" with
"%1", and adding a few "if" options to handle multiple
filespecs. Now it
looks like:
*************************************
dir %1 /o /b > c:\temp\tmpflist.txt
if %2x==x goto end
dir %2 /o /b >> c:\temp\tmpflist.txt
if %3x==x goto end
dir %3 /o /b >> c:\temp\tmpflist.txt
:end
e -eldflist c:\temp\tmpflist.txt
*************************************
This works pretty much the way I want. Now, if we could just modify the
ldflist.mac to issue a "next file in ring" command after it finished
opening all of the files....
Thanks.
Tom Martin
At 2/28/03 11:38 AM -0500, you wrote:
>If you don't like the order in which they load in the ring, you can alter it
>by outputting a directory listing to a text file and then running the
>ldflist macro against the file. A sample batch file that I use:
>
>dir /b /od *.txt >c:\temp\tmp.txt
>e -eldflist c:\temp\tmp.txt
>
>The only "weird" thing about this is that ldflist (in v4 at
least) appears
>to load the last file of the list first.
>
>- Scott Wagner
>
>-----Original Message-----
>From: Thomas Martin [mailto:tmartin{at}abraxis.com]
>Sent: Friday, February 28, 2003 11:05 AM
>To: tsepro{at}freelists.org
>Subject: [TSEPro] file ring
>
>
>Hello, Group:
>
>(TSEPro 3.0c, but also asking about 4)
>
>I often load a group of files with something like "e
scr5*.asp" which loads
>all the files into the ring; but they seem to load in the same order they
>are located in the directory.
>
>Is there an easy way to sort the files that are in the ring? (Either upon
>loading, or after they are loaded.)
>
>Thanks.
>
>Tom Martin
>
>--
>TSEPro Mailing List
>List Maintenance: www.semware.com/html/list.htm
--
TSEPro Mailing List
List Maintenance: www.semware.com/html/list.htm
---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonetSEEN-BY: 633/267 270 @PATH: 800/846 1 640/954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.