[SOLVED] Cannot open a folder shortcut with "tab" command

Features wanted...
Post Reply
Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

[SOLVED] Cannot open a folder shortcut with "tab" command

Post by Leito »

I'd like to open a new tab from a shortcut (lnk) path.

Code: Select all

tab("new", "C:\Shortcuts\ProgramData.lnk");
tab("new", "C:\Shortcuts\ProgramData");
Both return "Location currently not available."

Is it actually supported? If not, could it be? :mrgreen:
Last edited by Leito on 26 Nov 2018 12:09, edited 1 time in total.

admin
Site Admin
Posts: 66365
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cannot open a folder shortcut with "tab" command

Post by admin »

That's a wish. :)

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Cannot open a folder shortcut with "tab" command

Post by Leito »

Are you inclined to add this?

My use case is this: I use several folders paths in User-Defined Commands and scripts. For the sake of keeping those UDC / scripts portable, and to easily synchronize them between my different machines, I want to :
  • Create shortcuts for those folders (that could point to a different path on each machine).
  • Modify my UDC / scripts to call the shortcuts, and not the folders directly.
That way, when I want to synchronize my UDC / scripts on a machine, I only have to make sure the shortcuts are here, and I don't have to update my UDC / script anymore in case one folder path is different from the other machine.

(Can you move this to the Wishes section please?)

admin
Site Admin
Posts: 66365
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cannot open a folder shortcut with "tab" command

Post by admin »

Okay. :)

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Cannot open a folder shortcut with "tab" command

Post by Leito »

Code: Select all

v19.40.0006 - 2018-11-26 12:02
    + SC tab: Now you can pass LNK files as new location (when the target is a 
      folder). The new tab will be opened at the LNK target. Example:
        tab("new", "C:\Shortcuts\ProgramData.lnk");
Thanks a lot! :beer:

Post Reply