开发者

C++ program running from C:\Users\Myname\AppData\Local started by Registry CURRENT_USER

开发者 https://www.devze.com 2023-03-22 01:38 出处:网络
I have a key in my registry that starts a program In my C:\\Users\\MyName\\AppData\\Local folder when windows starts (Software\\Microsoft\\Windows\\CurrentVersion\\Run) but when the program is started

I have a key in my registry that starts a program In my C:\Users\MyName\AppData\Local folder when windows starts (Software\Microsoft\Windows\CurrentVersion\Run) but when the program is started it does not seem to have write permissions to the folder it is in.

开发者_C百科When I double click it to run it, it does have those permissions.

Does anyone know why it does not have permissions when started from the registry and if there is anything I can do about it?


Check that current directory your process is running in is correct. Use Process Explorer to check where your process is running.

0

精彩评论

暂无评论...
验证码 换一张
取 消