System: Windows 10 Pro (10.0.19044 Build 19044)
FileSystem: NTFS
WinDirStat: 1.1.2.80 (Unicode)
settings:
General -> Cross File System Boundaries [unchecked/doesn't matter]
General -> Follow Junction Points [unchecked/doesn't matter]
How to reproduce:
Enable Windows Developer Mode (Windows menu, search Developer Settings (also under System Settings))
Create a new directory
Place a file in this directory (FileA.txt, 4KB)
Place a file in a completely different directory, or drive (might even work over network) (FileB.txt, 4KB)
open powershell in Admin mode (required for creating Links)
cd into directory containing FIleA.txt
new-item -itemtype symboliclink -name RemoteFile.txt -value {Full Path to remote file}
Now in explorer the directory has 2 files, 4 KB total (because the other file is not STORED in this directory)
Open WinDirStat
Scan folder (containing FileA and SymLink)
Total Size: 8KB
It makes sense that it counts it as an actual file, as that is how Windows treats things accessing it.
But if you're trying to find what is taking up space on your drive, and somehow you manage to have 350 GB used on a 250 GB partition... It might become confusing (And lead you to optimizing a lot of storage, which doesn't actually count towards the quota).
Suggestion: Option for 'Do not follow links' in the config
(If it's actually possible to ask Windows/NTFS if a file is a file, or just a link)
Greetings!
~Sjaak
P.S. It's a great and useful tool, thank you very much! :D
System: Windows 10 Pro (10.0.19044 Build 19044) FileSystem: NTFS WinDirStat: 1.1.2.80 (Unicode) settings: General -> Cross File System Boundaries [unchecked/doesn't matter] General -> Follow Junction Points [unchecked/doesn't matter]
How to reproduce: Enable Windows Developer Mode (Windows menu, search Developer Settings (also under System Settings)) Create a new directory Place a file in this directory (FileA.txt, 4KB) Place a file in a completely different directory, or drive (might even work over network) (FileB.txt, 4KB) open powershell in Admin mode (required for creating Links) cd into directory containing FIleA.txt new-item -itemtype symboliclink -name RemoteFile.txt -value {Full Path to remote file} Now in explorer the directory has 2 files, 4 KB total (because the other file is not STORED in this directory) Open WinDirStat Scan folder (containing FileA and SymLink) Total Size: 8KB
It makes sense that it counts it as an actual file, as that is how Windows treats things accessing it. But if you're trying to find what is taking up space on your drive, and somehow you manage to have 350 GB used on a 250 GB partition... It might become confusing (And lead you to optimizing a lot of storage, which doesn't actually count towards the quota).
Suggestion: Option for 'Do not follow links' in the config (If it's actually possible to ask Windows/NTFS if a file is a file, or just a link)
Greetings! ~Sjaak
P.S. It's a great and useful tool, thank you very much! :D