Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to list all symbolic links on an NTFS filesystem

since Windows Vista there is an new Win32-API call CreateSymbolicLink to create a symbolic link on the NTFS filesystem.

Does anyone know if there is an way to list all existing symbolic links on the filesystem?

like image 831
Alexander Avatar asked Mar 20 '10 12:03

Alexander


People also ask

How do I get a list of symbolic links?

Use the ls -l command to check whether a given file is a symbolic link, and to find the file or directory that symbolic link point to. The first character “l”, indicates that the file is a symlink. The “->” symbol shows the file the symlink points to.

How do I list all symbolic links in Windows?

In Command Prompt, run this command: dir /AL /S c:\ A list of all of the symbolic links in the c:\ directory will be returned.

How do I list all junctions in Windows?

Notethat Windows does not support junctions to directories on remote shares. To list junctions beneath a directory, include the –s switch: junction -s c:\ Ganesh R.

Does NTFS support symbolic links?

There are three types of file links supported in the NTFS file system: hard links, junctions, and symbolic links.


1 Answers

Window-key -> cmd -> dir /AL /S c:\

Copy-paste from comment on -> http://windows7themes.net/how-to-find-all-symbolic-links-junction-points-in-windows-7.html

You can of course put any other drive label instead of c:\

like image 78
nikib3ro Avatar answered Sep 26 '22 10:09

nikib3ro