“This application could not be started.” Only when the file is in system32 directory

后端 未结 5 1095
-上瘾入骨i
-上瘾入骨i 2021-02-13 06:14

I wrote a little piece of software that downloads file from internet, that is, nothing more. My intentions are to use it thru the command line... It works great, but when I plac

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-13 07:10

    Maybe this answer is not directly applicable for OP answer, but for sure it is connected and it solved my issue.
    On my company computer I have a few folders, which automatically sync with OneDrive. Those files are permanently labelled as "Work", not "Personal".
    Each time I copied between those folders, which are syncing, I cannot run my developed application. When I created a new directory, outside of syncing folders, I was able to change File Ownership to "Personal" (see below):

    Just after that, my program works perfectly.

提交回复
热议问题