是"login.ini"吗?保留名称? [英] Is "login.ini" a reserved name?

查看:115
本文介绍了是"login.ini"吗?保留名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将登录名的MRU存储到我的应用程序的一个名为login.ini的文件中,并将其保存在widnows应用程序文件夹中.

I store the MRU of logins to my application in a file called login.ini and I save it in widnows application folders.

我注意到在某些系统上-我不知道为什么;我找不到常见的原因-用户无法创建文件,而用户可以在同一文件夹中创建所有其他文件.

I noticed that on some systems — I don't know why; I cannot find a common cause — the user cannot create the file, whereas it creates all other files in the same folder.

我能想到的唯一原因是某些防病毒/Windows设置/...不允许该特定用户在此系统上创建文件.

The only reason I can think of is that some antivirus/windows setting/... doesn't allow this particular user to create the file on this system.

我通过重命名文件解决了问题,看起来还可以,但是我想确定.有人知道更多吗?

I solved the problem by renaming the file and it seems ok, but I'd like to be sure. Does anyone know more?

赏金注意事项:

此是一个相关的问题我问了一下我正在做什么的细节.

This is a related question I asked that details a little more what I am doing.

推荐答案

一些Google-fu发现其他Windows开发人员已成功为其程序创建了login.ini,其他人则在第三方Windows登录管理中使用它程序,所以我希望它的保留"部分取决于它在文件系统中的位置(即系统文件中).但是,我认为名称"login.ini"不是系统范围的保留名称,

A little Google-fu turns up that other Windows developers have sucessfully created login.ini for their programs, and others use it in a third-party Windows login management program, so I would expect that its "reservedness" is partially dependent on its location in the file system (i.e. in the system files). However, I don't think the name "login.ini" is a system-wide reserved name, no.

我认为您是对的-某些防病毒程序可能会干扰该文件的创建,因为它很可能是病毒文件名的候选恕我直言.看起来好像它已经在某个地方(显然在美国以外)用于此目的,请不要在此引用我的意思.

I think you're right - certain antivirus programs MAY be messing with the creation of that file, as it is a fairly likely candidate imho for a virus filename. It looks as if it may already have been used for that purpose somewhere (apparently outside of the US), tho don't quote me on that.

因此,如果使用其他名称为您服务,我会同意的. :)

So, if a different name works for you, I'd go with that. :)

这篇关于是"login.ini"吗?保留名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆