filehash icon indicating copy to clipboard operation
filehash copied to clipboard

After compiled to exe - Error: [Errno 2] No such file or directory: '/Windows\\System32\\test.txt'

Open stevenfonz opened this issue 4 years ago • 1 comments

Hi,

I would like to ask why would we observe this error? Is there any workaround?

Before compilation, we can calc the hash. Please see below. /Windows\System32\test.txt SHA1= 403926033d001b5279df37cbbe5287b7c7c267fa

After compiltation, the compiled exe program throw the following error. Error: [Errno 2] No such file or directory: '/Windows\System32\test.txt'

stevenfonz avatar Aug 08 '21 04:08 stevenfonz

You should probably elaborate what you are actually meaning with compilation? With which tool? How do you use filehash there?

stefan6419846 avatar Jan 02 '23 10:01 stefan6419846