How can I list file system shortcuts?


H2ONaCl

Well-known member
Local time
9:57 AM
Posts
52
OS
Windows 11
I've created some shortcuts to directories in Windows Explorer.

Is there a way to list all such file system shortcuts, say, within a given directory ? When I say "directory", I mean in the whole "tree", in other words, recursively.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Try Dir /R command.
 

My Computer My Computer

At a glance

Windows 11AMD Ryzen 7 5700GMicron Technology DDR4-3200 16GBNVIDIA GeForce RTX 3060
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
HP Pavilion
CPU
AMD Ryzen 7 5700G
Motherboard
Erica6
Memory
Micron Technology DDR4-3200 16GB
Graphics Card(s)
NVIDIA GeForce RTX 3060
Sound Card
Realtek ALC671
Monitor(s) Displays
Samsung SyncMaster U28E590
Screen Resolution
3840 x 2160
Hard Drives
SAMSUNG MZVLQ1T0HALB-000H1
In the highest level folder within which you have put your shortcuts, enter this in a command prompt window [not a PS window]:-
Dir *.lnk /s /b

For other Dir questions, you could see the built-in Help file by entering
dir /?
and you could save it to a text file by entering this [but use a folder path that exists on your computer for the output file]
dir /? >F:\Wherever\Whatever\Dir.txt
You'll also find useful guidance in
Dir - SS64
Dir - MSDocs


Denis
 
Last edited:

My Computer My Computer

At a glance

Windows 11 Home x64 Version 25H2 Build 26200....
OS
Windows 11 Home x64 Version 25H2 Build 26200.8037
Can you create a new folder on your desktop and place all your shortcuts into that folder?
 

My Computers My Computers

  • At a glance

    Win11Intel® Core™ i7-1255U16 GB DDR4-3200 SDRAM (2 x 8 GB); 512 GB PCIe...
    OS
    Win11
    Computer type
    Laptop
    Manufacturer/Model
    2023 HP Pavilion 15t-eg200
    CPU
    Intel® Core™ i7-1255U
    Memory
    16 GB DDR4-3200 SDRAM (2 x 8 GB); 512 GB PCIe® NVMe™ M.2 SSD
    Screen Resolution
    1920x1080
  • At a glance

    Win 11 23H213th Gen Intel(R) Core(TM) i7-13700T 1.40 GHz500GB Samsung M.2 SSD WD HD 1TB RAM 16GBGForce RTX 3050
    Operating System
    Win 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP AIO
    CPU
    13th Gen Intel(R) Core(TM) i7-13700T 1.40 GHz
    Motherboard
    HP
    Memory
    500GB Samsung M.2 SSD WD HD 1TB RAM 16GB
    Graphics card(s)
    GForce RTX 3050
    Screen Resolution
    1920x1080
    Hard Drives
    500GB Samsung M.2 SSD
    WD HD 1TB
Can you create a new folder on your desktop and place all your shortcuts into that folder?
Yep . . you could do that going back to Windows 3 though you did not have a desktop but you had a GUI that you could make any shrtcut to anything and organize them by groups (like windows does for us now but with a start menu to put them in. It's a lot easier now with right click / make shortcut.
 

My Computers My Computers

  • At a glance

    Windows 11 (up to date)Intel i5 12400Corsair Vengeance LPX 16GBOn Board the Z690
    OS
    Windows 11 (up to date)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel i5 12400
    Motherboard
    Gigabyte Z690 UA
    Memory
    Corsair Vengeance LPX 16GB
    Graphics Card(s)
    On Board the Z690
    Sound Card
    On Board
    Monitor(s) Displays
    43" Samsung tu7000
    Screen Resolution
    2560 x 1440
    Hard Drives
    SAMSUNG SSD 1TB NVMe M.2
    PSU
    Thermaltake smart 500w 80+
    Case
    LIAN LANCOOL_205M
    Cooling
    Bunch of fans . . . :o) (lights dont work)
    Keyboard
    Unicomp: Ultra Classic White Buckling Spring USB
    Mouse
    M510
    Internet Speed
    50mbps on Ethernet
    Browser
    Fire Fox
    Antivirus
    Windows
    Other Info
    Love this computer but I still prefer Win-7 like I love my old Lazy Boy Recliner . . . it just feels better.
  • At a glance

    WIN-7-64BIT and Win-11 pro for testing on uns...i5-3570K CPU @ 3.40GHz, 3801 Mhz, 4 Core(s), ...16 GB - Crucial Ballistick 4GB PC3-14900 DDR3...NVIDIA GeForce GTX 1050
    Operating System
    WIN-7-64BIT and Win-11 pro for testing on unsupported hardware
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home built
    CPU
    i5-3570K CPU @ 3.40GHz, 3801 Mhz, 4 Core(s), 4 Logical Processor(s)
    Motherboard
    GA-Z77-HD3
    Memory
    16 GB - Crucial Ballistick 4GB PC3-14900 DDR3-1333 MHz
    Graphics card(s)
    NVIDIA GeForce GTX 1050
    Sound Card
    On Board
    Monitor(s) Displays
    ASUS VP278
    Screen Resolution
    1920 x 1080
    Hard Drives
    4 - internal Samsung 2.5" SSD, 1 WD HDD 7200 and some external drives
    PSU
    EVGA 550w
    Case
    Old Gygabyte Tower
    Cooling
    Yes
    Keyboard
    Unicomp - UNIOP4A USB (like the old IBM Model H that I started with)
    Mouse
    M510
    Internet Speed
    50mbps
    Browser
    Firefox
    Antivirus
    Windows
    Other Info
    The only thing it lack is USB-3.2 on the front face but it has 3.0 on the back
In the highest level folder within which you have put your shortcuts, enter this in a command prompt window [not a PS window]:-
Dir *.lnk /s /b

For other Dir questions, you could see the built-in Help file by entering
dir /?
and you could save it to a text file by entering this [but use a folder path that exists on your computer for the output file]
dir /? >F:\Wherever\Whatever\Dir.txt
You'll also find useful guidance in
Dir - SS64
Dir - MSDocs


Denis
This works. Thank you.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
This works. Thank you.
Good

Denis



Welcome to ElevenForum.

It's really worth making time to browse through the Tutorial index - there's a shortcut to it at the top of every page [within the Tutorials dropdown list].
- At the foot of the Tutorial index is a shortcut to download it as a spreadsheet.
- I download a new copy each month.
- By downloading it as a spreadsheet I can benefit from Excel's excellent filtering capabilities when I search for topics of interest.
- Tutorials are also listed at Tutorials - there's a shortcut to that at the top of every page.

You can search ElevenForum using the search box in the top-right corner of all ElevenForum webpages or using Advanced Search - ElevenForum
- You can also search ElevenForum threads in many general search engines, such as Google, by adding site:elevenforum.com after your search term. For example,
Taskbar setup site:elevenforum.com
- [This is what the search box in the top-right corner of ElevenForum webpages does automatically]
 

My Computer My Computer

At a glance

Windows 11 Home x64 Version 25H2 Build 26200....
OS
Windows 11 Home x64 Version 25H2 Build 26200.8037
Back
Top Bottom