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

Re: logtoday [Tagfiles]



Reply to note from "Morris Krok"  Fri, 12 Dec
2003 10:24:18 +0200

Morris:

> I am interested to know if there is a program in U2, that
> creates a text file which lists all the Xywrite files with its
> directory name, that was called for that day. ... It should
> also include XPl programs that were ldpm, or had to be browsed
> or edited for a specific purpose.

There's a routine called TAGFILES which can be used to generate a file
list that would serve your purposes. The file list is a text file
called TAGFILES.LST, located in the directory that has EDITOR.EXE.

There are three ways to add a filename to TAGFILES.LST:

TAG adds the d:\path\filename of the file in the current
window.

TAG d:\path\filename adds D:\PATH\FILENAME.

TAG with the cursor on a filename in a DIRectory display adds
that file.

If you've just issued a command like LDPM UNCANNY.PM,X, it's a simple
matter to edit the command to TAG UNCANNY.PM, then hit .
Also, you can TAG files in the background (no thinking required) by
adding a TAG command to the appropriate key assignment. For example,
if you have a dedicated SAve key, you can automatically tag every file
you SAve with:

31=BXs,a,Q2JM(,2,.,T,a,g,F,i,l,e,s,T,a,g,)

To view the file list, issue TAG V[iew]. TAGFILES.LST is a
text file like any other, freely editable.

> One of course can edit the file to remove duplicates of files
> used more than once.

No need. TAGFILES doesn't add a file if it's already in the list.
Hence, no duplicates.

TAGFILES.LST has lots of uses. For example, to create a ZIP archive:
PKZIP my.zip @tagfiles.lst. Or to batch-copy files from one drive to
another. (There are command-line arguments to automate this; see the
Help screen (HELP TAGFILES) for details.)

--
Carl Distefano
cld@xxxxxxxx