Quick and portable diff utility to make snapshots of a folder and compare the payload.
- download fscmp.exe from release page
- open
cmd.exe
and cd to where the binary locates - run
fscmp.exe --snapshot [TARGET_DIR] [SNAPSHOT_1]
to make a snapshot of[TARGET_DIR]
and save as[SNAPSHOT_1]
- do something to the folder (e.g., add some files or modify its content)
- run
fscmp.exe --snapshot [TARGET_DIR] [SNAPSHOT_2]
to make a snapshot of[TARGET_DIR]
again and save as[SNAPSHOT_2]
- run
fscmp.exe --diff [SNAPSHOT_1] [SNAPSHOT_2]
to see the diff carried by step 4
Senario | Dir to Track |
---|---|
see added files after installing a software | "C:\Program Files" "C:\Program Files (x86)" "C:\Users\USERNAME\AppData\Roaming" "C:\ProgramData" |
see changed components after getting Windows service update | "C:\Windows\WinSxS" |
C++ lib <filesystem>
seems to have decoding issue when it meets some specific characters (espicial Chinese) in Windows filesystem:
exception: No mapping for the unicode character exists in the target multi-byte code page.