I'm not looking to test if two files are duplicates, I know you can do that by doing a byte by byte comparison, or hashing both files.
What I'm looking for is a way to test if both files are literally the same file. For example:
c:\documents and settings\bla.txt
c:\docume~1\bla.txt
When comparing the strings, those might be seen as two different files, when really they're the same file. I could convert both strings to short file names, but I'm not sure if Windows has other ways of linking files to eachother.
In brief, I need a foolproof way to test if two files are the same file or different.
Bitdefender Antivirus Free 27.0.52.261 by Razvan Serea
Bitdefender Antivirus Free is a free antivirus software especially designed to protect your Windows PC. Quick to install and light on computer resources, it is good for gaming, image and video editing, and resource-intensive applications. Once you have installed Bitdefender Antivirus Free, your device is protected against all kinds of threats (such as malware, spyware, ransomware, exploits, botnets and trojans) and internet threats (such as hackers, phishing and spam). The app uses the Photon technology to enhance the speed and performance of the threat scanning process. It works by learning the usage patterns of your system apps to know what and when to scan, thus minimizing the impact on system performance.
Many free antivirus solutions are as intrusive and resource-heavy as the viruses they’re supposed to stop. Only Bitdefender Antivirus Free is designed from the ground up to keep you safe without disrupting your workflow and focus. Free antivirus protection that stops even the fastest-evolving attacks
Runs silently in the background and stays out of your way
Impossibly light on CPU (will not slow down your computer)
Live customer support included (unlike other free antivirus software)
Bitdefender Antivirus 27.0.52.261 changelog: Improved the uninstall process for a smoother experience
Removed SecurePass cards, recommendations, and quick actions from the interface
Fixed errors related to Bitdefender processes
Operating systems: Windows 7 with Service Pack 1, Windows 8.1, Windows 10 and Windows 11
Download: Bitdefender Antivirus Free 27.0.52.261 | 18.0 MB (Freeware)
View: Bitdefender Antivirus Free Homepage | Release Notes | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
I've seen people/companies/governments try this move several times before and they still end up going back to Windows. Maybe this time they will have more success. Will be interesting.
Question
+Xinok Subscriber²
I'm not looking to test if two files are duplicates, I know you can do that by doing a byte by byte comparison, or hashing both files.
What I'm looking for is a way to test if both files are literally the same file. For example:
c:\documents and settings\bla.txt
c:\docume~1\bla.txt
When comparing the strings, those might be seen as two different files, when really they're the same file. I could convert both strings to short file names, but I'm not sure if Windows has other ways of linking files to eachother.
In brief, I need a foolproof way to test if two files are the same file or different.
Link to comment
https://www.neowin.net/forum/topic/349791-c-test-if-two-files-are-the-same/Share on other sites
21 answers to this question
Recommended Posts