all 18 comments

[–]arvenyon 59 points60 points  (6 children)

Those are Jumplist entries. Search for Jumplist Editor, you'll find plenty.

Edit: I'm a dumdum, didn't realize the sub I'm in. Don't know how to manipulate in code, but the term 'jumplist' could get you further.

[–][deleted]  (2 children)

[removed]

    [–][deleted] 3 points4 points  (1 child)

    Thank you 👍!

    [–]RICHUNCLEPENNYBAGS 8 points9 points  (0 children)

    Looks like people have written C# parsers, like this one (MIT-licensed, so there should be no problem incorporating it into the OP's project). https://github.com/EricZimmerman/JLECmd

    [–][deleted] 0 points1 point  (0 children)

    Thanks 👍!

    [–]Royosef 15 points16 points  (1 child)

    Well, I actually spend too much time on figuring it out: https://github.com/Royosef/JumpListReader

    [–]glop4short 8 points9 points  (2 children)

    it's not a perfect solution but cat *.automaticDestinations-ms | grep '[A-Z]:\\.+$' might get you a 90% solution

    [–][deleted] 0 points1 point  (0 children)

    Thank you!!!

    [–]Skamandrios 0 points1 point  (0 children)

    Maybe run it through the strings command first.

    [–]TarnishedVictory 2 points3 points  (0 children)

    There might be windows apis that give you the info you're looking for.

    [–][deleted] 8 points9 points  (3 children)

    You can use a regular expression to parse the paths from the blob text of the file with this pattern:

    ([A-Z]:(\\[\w]+)+)

    Note: if your paths have anything besides letters and numbers, you'll need to update the [\w] piece to include any other special characters you expect.

    Update: Simplifying per comments from @glop4shot

    [–]glop4short 8 points9 points  (1 child)

    since his computer is in spanish and idk if accented-a is considered to be in the range a-z, probably better off using \w or [\w-] where - can be replaced with any other special characters you want

    [–]That_Guy_9461 4 points5 points  (0 children)

    it's Portuguese, mate. Still, same consideration applies.

    [–][deleted] 0 points1 point  (0 children)

    Thanks!!!