自动在桌面上创建一个"LOG"名称文件夹! [英] Automatic Create a 'LOG' name Folder on Desktop!

查看:429
本文介绍了自动在桌面上创建一个"LOG"名称文件夹!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好...!我已经通过使用后端SQLServer在c#.Net中开发了一个基于Windows的应用程序.该应用程序正常工作,但是当我在该应用程序上工作时,它会自动在桌面上创建一个文件夹!文件夹的名称为LOG!
所以,请您告诉我Guyies那边我到底缺少什么...!或者要删除这些问题,我该怎么做!

问候...!
Dnyanesh Wahiley

Hi Everybuddy...! i have developed a Windows based Application in c#.Net by using backend SQLServer..! that application is working properly but when i worked on that application its Automatic create a Folder on Desktop! the name of Folder is LOG!
So please could u tell me Guyies what exactly i am missing over there...!or what i have to do to remove like these problem!

Regards...!
Dnyanesh Wahiley

推荐答案

因此,如果您使用第三方组件:

您可以首先查看其文档,以查看它是否可以更改日志记录文件夹或禁用日志记录功能?

如果此时无法更改其行为,请检查是否可以定期删除其日志文件夹.例如,在您的应用程序启动时间和退出时间.

如果由于某个进程的锁定而无法将其删除,则必须找到另一个没有这种非常规副作用的调整大小的库.

希望对您有所帮助.
So if you use a third party component :

You may firstly check its documentation to see whether it can change logging folder or disable the logging functionality?

If it''s impossible at this time to change its behavior then check whether you can remove its log folder regularly. For example at your application startup time and exit time.

If it can not be removed because of locking by a process then you have to find another resizing library which do not have this unconventional side effect.

Hope it helps.


这篇关于自动在桌面上创建一个"LOG"名称文件夹!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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