物理文件在哪里?
8 回答
这取决于操作系统以及是否启用了漫游用户配置文件。
例如,在 XP 上,使用非漫游配置文件,位置是
<SYSTEMDRIVE>\Documents and Settings\<user>\Local Settings\Application Data\Microsoft\IsolatedStorage
在具有漫游配置文件存储的 Vista 上,
<SYSTEMDRIVE>\Users\<user>\AppData\Roaming\Microsoft\IsolatedStorage
有关详细信息,请参阅隔离存储简介。
%LocalAppData%\IsolatedStorage
/%AppData%\IsolatedStorage.
我没有在“微软”下找到它们
System.Diagnostics.Process.Start(
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) +
"\\IsolatedStorage"
);
在我的 XP 工作站上,我在 c:\Documents and Settings\\Local Settings\Application Data\Microsoft\Silverlight\is\XXXXXXXXXXXXX 下找到了它,其中 xxxxxxxx 似乎是一个随机目录名称。(在此之下,如果您四处闲逛,您应该找到适合您特定应用的商店......)
我也在%ProgramData%\IsolatedStorage
(经常是 C:\ProgramData\IsolatedStorage)下看到它。
这个特殊案例是带有 IIS 站点相关数据的 Windows Server 2008。
我正在使用 Windows 8.1。在我的电脑上C:\Users\mangesh\AppData\LocalLow\Microsoft\Silverlight\<followed by some random folder names>
在“Silverlight”文件夹中有许多随机文件夹。您应该在这些文件夹之一中找到您的文件。
位置因IsolationStorage
范围而异
Local user [LocalApplicationData]\IsolatedStorage
Roaming user [ApplicationData]\IsolatedStorage
Machine [CommonApplicationData]\IsolatedStorage
可以通过Environment.GetFolderPath
方法检索文件夹。
Windows 2016 有这样的
Local user C:\Users\<user>\AppData\Local\IsolatedStorage
Roaming user C:\Users\<user>\AppData\Roaming\IsolatedStorage
Machine C:\ProgramData\IsolatedStorage
更多细节可以在这里找到。
当由系统帐户访问/创建时,我在这里找到了该文件夹:
C:\Windows\SysWOW64\config\systemprofile\AppData\Local\IsolatedStorage