Skip to content

Instantly share code, notes, and snippets.

@Seikilos
Last active August 29, 2015 14:04
Show Gist options
  • Save Seikilos/8c353252a3ec03c89cdc to your computer and use it in GitHub Desktop.
Save Seikilos/8c353252a3ec03c89cdc to your computer and use it in GitHub Desktop.
Find all references to a hard drive
First check registry: https://gist.github.com/Seikilos/ab23cf6b85e1d65936a5
Then to locate symlinks and junctions:
dir /AL /S c:\ > symlinks.txt 2>&1
or use
http://www.nirsoft.net/utils/ntfs_links_view.html
THIS DOES NOT LOCATE SIMPLE LINKS!
Use lnk parser: https://code.google.com/p/lnk-parser/downloads/list
lnk_parser_cmd.exe -c c: > lnk.txt 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment