The system cannot find the path specified

前端 未结 4 1424
轮回少年
轮回少年 2020-12-19 17:24

I am trying to calculate sha1 hash for some of the files from location %system%\\drivers\\ using C#. I know files are at the exact location but when i use

F         


        
4条回答
  •  清歌不尽
    2020-12-19 18:05

    As others have mentioned, this is the file system redirector at work. The workaround is to replace system32 with sysnative in the filepath.

    This was driving me bonkers too, and it took too much work to find the simple workaround. I kept landing on pages with advanced scripting and complicated, obscure tangentially-related solutions. So I thought I'd share the "easy mode".

提交回复
热议问题