JUMPLIST?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
No response the first time so I'll try again.

I used
Code:
jumplist "CMD" "cmd.exe"
jumplist /c
and pinned TCMD to the taskbar. When TCMD is running, the jumplist item works fine to open a new tab running CMD.
When TCMD is not running, the jumplist item starts TCMD and the started TCMD displays a message box ...
Code:
The system cannot find the file specified.

"/c"
When the message box is dismissed, the default (TCC) tab appears.
Is this WAD? Is there a way to get a jumplist item to work whether TCMD is running or not?
 
#3
Is there a way to see what is in the current jumplist other than right clicking the icon in the tray?
In my case, the information is stored in
Code:
c:\users\vefatica\appdata\roaming\microsoft\windows\recent\customdestinations\bdacdf9df67b4ab6.customDestinations-ms
.
I don't know of a tool that will display that info nicely. You can glean a little if you look at it with a hex editor.
 

samintz

Scott Mintz
May 20, 2008
1,203
11
Solon, OH, USA
#4
I did a little digging and found that the customDestinations-ms file is essentially a LNK shortcut file with a header and footer tacked on.
In my case the header was:
Code:
00000000  02 00 00 00 01 00 00 00 00 00 00 00 02 00 00 00    ................
00000010  01 00 00 00 01 14 02 00 00 00 00 00 C0 00 00 00    ............À...
00000020  00 00 00 46                                        ...F

And the footer is the last 4 bytes which is AB FB BF BA
Using a hex editor, I stripped off the header and footer and saved the file as FOO.LNK. Then I used the SHORTCUT command and it displayed the shortcut correctly.
Code:
[C:\Users\mintz\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations] shortcut foo.lnk
Command=C:\TC18\tcmd.exe
Arguments=/c "cdd c:\progra~1\LunaSA\CSP\test\ & testnosend.btm & pause"
Directory=
Description=
Link=foo.lnk
Icon=C:\TC18\tcmd.exe
Offset=0
Mode=1
Hotkey=
https://github.com/libyal/assorted/blob/master/documentation/Jump lists format.asciidoc
 

samintz

Scott Mintz
May 20, 2008
1,203
11
Solon, OH, USA
#5
If I'm interpreting the header correctly, the 2 1 0 2 sequence says it is a Task List. The 01 00 00 00 at offset 0x10 says there's 1 entry in the list. The next 16 bytes are the LNK GUID which is 00021401-00000000-C0000000-00000046. That is followed by an array of LNK entries of which I only have 1. And then the footer.

The customDestinations-ms file for Outlook has 5 Tasks entries and follows that same pattern.