本文介绍了如何停止 Google Drive 创建 desktop.ini 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Android Studio 和 Google Drive 进行学校编码项目来存储我的应用程序文件.Google 云端硬盘正在生成这些 desktop.ini 文件.每次我删除或修改它们时,它们都会重新生成,即使我关闭了 Google Drive.我怎样才能解决这个问题?出现此错误,我无法运行或调试我的项目.

I'm doing a school coding project using Android Studio with Google Drive to store my app files. Google Drive is generating these desktop.ini files. Every time I delete or modify them, they are regenerated, even when I shut down Google Drive. How can I fix this? I cannot run or debug my project with this error.

推荐答案

这也让我们发疯了!Scott 是对的,是 Windows 生成了这些文件.我找到了以下文章,通过禁用desktop.ini文件的生成为我们解决了问题:

This was driving us crazy as well! Scott is correct, it is Windows generating these files. I found the following article, which solved problem for us by disabling the generation of the desktop.ini files:

http://jamesisin.com/a_high-tech_blech/index.php/2010/09/nevermore-be-bothered-by-desktop-ini

基本上建议是:
1. 打开注册表编辑器(开始 —> 运行 —> regedit)
2. 找到或添加以下 DWORD 键:HKEY_LOCAL_MACHINE —> SOFTWARE —> Microsoft —> Windows —> CurrentVersion —> Policies —> Explorer —> "UseDesktopIniCache"
3. 修改该键,使其值为 0(零)

Basically the advice is:
1. Open the registry editor ( Start —> Run —> regedit )
2. Locate or add the following DWORD key: HKEY_LOCAL_MACHINE —> SOFTWARE —> Microsoft —> Windows —> CurrentVersion —> Policies —> Explorer —> "UseDesktopIniCache"
3. Modify that key so that it’s Value is 0 (zero)

这篇关于如何停止 Google Drive 创建 desktop.ini 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 18:00