And just to elaborate a little, what I was trying to do involved a lookup table.  Let's say I had an FTP adapter that picked up files from /ftpdir/ and 1 subfolder deep.  If I had

/ftpdir/green/
/ftpdir/red/

I could then have entries in the lookup table for "green" and "red" and (relatively) easily create a rule to do stuff based on the folder.  What I'm trying to do now is be able to block things.  So I have a lookup table named "BlockCustomer".  I could create the key value pair "green:1" and then use $PIECE on the proposed .SourcePath property to determine if it should be blocked.  

Although now that I think about it, I guess this could be done with the message header.  However if I have multiple facilities for a single customer the given field in the header may differ.  I'm not sure.

I think using message header information is the obvious solution, but my reasons for doing this were slightly more complicated.  No need to elaborate though as I think I'll end up writing a custom function.

Thanks for the input.

User Dmitry Maslennikov has stated on this StackOverflow question that it does include the full path but when I looked in the viewer it was visually truncated.  I hadn't been able to verify in code yet.

I'll see if I can validate and if it's not there then use part of the message header.