[pmmail-list] find folder from found mail

Jack Weaver jackw at attglobal.net
Sat Nov 18 16:56:00 CET 2006


On Fri, 17 Nov 2006 17:25:22 +0000 (GMT), Paul Ratcliffe wrote:

>On Fri, 17 Nov 2006 17:51:15 +0100, Clemens Li wrote:
>
>>In the search messages window the results are displayed but with 
>'weird' folder names (like
>>what is their DOS name when I first created).
>>
>>How to link with actual PM folder names?
>
>You can't, unless you can manually work it out. Sometimes it's easier 
>than others.
>

You could write a small Rexx .CMD file that would locate all the FOLDER.INI files under PMMAIL and 
then list the first field (delimited by an 'DE'X) in each file along with the drirectory actual name.  Print the 
results and you would have a "cheat sheet" to use.  Maybe something like this:

/* Cross reference PMMAIL folder names and actual directories */

r = SysFileTree('FOLDER.INI', 'File.', 'SFO')

say ''

p = pos('PMMAIL\', File.1) + 7

do x = 1 to File.0
  File = File.x
  Work = linein(File)
  r = stream(File, 'C', 'CLOSE')
  parse var Work Name 'DE'X .
  say left(Name, 18) substr(filespec('P', File), p)
end

return(0)



Jack Weaver				Webmaster
The Fanac Fan History Project		http://fanac.org/





More information about the PMMail mailing list