问题标签 [appdata]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
windows - 将文件保存到 App Data 文件夹
我在 Visual Studio 2012 Ultimate 中编写了一个 Visual Basic.Net 应用程序。当此应用程序安装到Program Files
文件夹时,保存文件时,它们位于以下位置:
如何指定将文件保存在以下目录中:
文件夹(基本上,不是 VirtualStore 文件夹)?
我是否需要在 Windows 中注册此应用程序才能执行此操作?
提前致谢
java - 更改 AppData 路径(系统属性)
我正在开发 Minecraft 游戏的启动器,我想做的是为游戏设置 APPDATA(Windows)位置。该值并没有真正改变,但它针对执行代码的程序进行了修改。例如,在 Mac OS X 或 Linux 系统上通过更改“home”文件夹位置很容易实现这一点,System.setProperty("user.home", dir);
但是如何使用 Windows 上的 APPDATA 文件夹实现这一点?
可以使用这样的批处理脚本修改此位置;APPDATA=%CD%\minecraft
.
程序/启动器是使用 swing 编程的,不是基于控制台的。
google-drive-api - Google Drive appdata 和 Children.Delete
看起来 appdata 文件夹下的项目无法使用 DirectoryService.Children.Delete 删除 - 出现错误“方法不支持 appdata 内容 [403]”。只是想知道为什么这个限制?appdata 文件夹的行为是否应该与其他文件夹相同?
windows-7 - ProgramData 和 AppData 有什么区别?
我需要为我的程序存储一些用户特定的配置数据。Application Data/AppData(在用户目录中)和 ProgramData(在系统驱动器的根目录中)似乎都是放置它的合理位置。
程序数据和应用程序数据有什么区别,我应该使用哪个?
c# - How to create appdata folder with C#
Well, I don't know how to type all this so bear with me please.
This is beyond me, I'm still a newb at C#. I basically need to create a folder in the roaming application data of the current user running the program. I also need to access another folder in the application data section and then replace a file with a copy of the file in the application data folder I had created.
google-app-engine - Google Drive AppData Not Permitting Insert
Using Google Drive API v2 rev 75 I am attempting to insert a file into the AppData folder, however insertion fails with:
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403
"The current scope does not allow use of the appdata folder"
The scope "https://www.googleapis.com/auth/drive.appdata" is specified in the API Console though, so I'm a little stuck.
The insertion code goes:
The authorisation code I use follows that detailed in the DrEdit [sample]( https://code.google.com/p/google-drive-sdk-samples/source/browse/java/src/com/google/drive/samples/dredit/CredentialMediator.java?r=54312a4a583d5a2ba546330a892c4b0aca75c00d)
Specific snippets of my code include:
...
...
Any ideas why I am getting this problem? Thanks.
java - 将下载路径设置为 %appdata% 及更多
在下载 (Java) 脚本中,您可以将位置设置为%appdata%
、%home%
等吗?我尝试以多种不同的方式添加此脚本,但我想出的只是错误。我是否需要.bat
事先启动一个文件来设置目录cd
以及所有内容?
wix - 存储应用数据的最佳位置
我的应用程序有一些数据(配置文件、工作文件等),应该放在硬盘上。因此,我对此有一些疑问:
- 最好的存放地点在哪里?用户文档中的特殊文件夹,如“...用户文档\MyAppFolder”或 AppData 或其他什么?
- 卸载过程中是否删除这些文件?如果是,那么如果用户想要安装新版本的程序,文件将会丢失,是吗?
- 在安装期间或首次启动应用程序期间创建此文件夹?
file-io - 在 C# 控制台的 %appdata% 中打开一个 .exe 文件
我编写了这段代码来在控制台的 %appdata% 中打开一个 .exe 文件:
它打开 appdata 目录,但我希望它打开一个.exe
文件。我应该怎么办?
c# - 将 .zip 解压缩到 %appdata%\subfolder
我想将 zip 解压缩到%appdata%\subfolder
. 当我放置诸如 之类的路线时C:\Users\User\AppData\Roaming\subfolder
,它可以提取;我想为每个%appdata%
客户端系统执行此操作。
我正在使用 SharpZipLib 进行提取。