How can I list file system shortcuts?


H2ONaCl

Active member
Local time
3:06 PM
Posts
17
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

System One

  • OS
    Windows 11
Try Dir /R command.
 

My Computer

System One

  • 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

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Can you create a new folder on your desktop and place all your shortcuts into that folder?
 

My Computers

System One System Two

  • 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
  • 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 Computer

System One

  • OS
    Windows XP, 7, 10 & 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel i5 12400
    Motherboard
    Gigabyte Z690 UA ATX DDR4
    Memory
    Corsair Vengeance LPX 16GB
    Graphics Card(s)
    On Board (for now)
    Sound Card
    ?
    Monitor(s) Displays
    43" Samsung tu7000
    Screen Resolution
    2560 x 1440
    Hard Drives
    SAMSUNG 970 EVO Plus SSD 1TB NVMe M.2
    PSU
    500W
    Case
    LIAN LANCOOL_205M
    Cooling
    Bunch of fans . . . :o)
    Keyboard
    Unicomp: Ultra Classic White Buckling Spring USB
    Mouse
    M510
    Internet Speed
    50mbps
    Browser
    Fire Fox
    Antivirus
    Windows
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

System One

  • 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

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
Back
Top Bottom