> ---Quote (Originally by Jim Cook)---
> FullFileName: Fact.txt
> Index: -1 M: -1
> I get results that are expected, but I did prepend one line to simulate
> your
> input.
>
> set Line=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaFact.txt
>
> You do not mention what %Line contains. Perhaps there's something causing
> trouble in the original input. Does it have special characters (e.g.
> backspace)? I still can't come up with a reason for -24.
>
> TCC 12.11.73 x64 Windows 7 [Version 6.1.7600]
> TCC Build 73 Windows 7 Build 7600
>
> On Thu, Aug 11, 2011 at 15:13, mathewsdw <> wrote:
> --
> Jim Cook
> 2011 Monday: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
> Next year they're Tuesday.
> ---End Quote---
> Jim, I modified the batch file slightly:
>
> Code:
> ---------
> Set FullFileName=%@Trim[%@Right[-53,%Line]]
> Set M=%@Index[%FullFileName,\,-1]
> @Echo Line: "%Line"
> @Echo FullFileName: %FullFileName
> @Echo Index: %@Index[%FullFileName,\,-1] M: %M
> ---------
> Here's the new output:
>
> Code:
> ---------
> Line: "2011-07-03 17:35:36 ....A 13862737 4626295 Fact.txt"
> FullFileName: Fact.txt
> Index: -24 I: -24
> ---------
> (Note that the line is being printed out enclosed in double quotes.) And
> the line being parsed does not, as far as I know, contain any non-printable
> characters (and there's no reason why it would). Doesn't really seem to
> explain anything.
>
>
>
>
>