嘿,所有,我现在把一个Windows批处理文件用于生产环境中,通过IPE命令行(iPECDM.jar)编程设备。我写的设备没有问题,但是每次运行命令时,我最终得到5个日志文件:Log.0Log.1Log.2MPLABxLog.XMLMPLABXLog.xML.LCKIs身体知道是否有一种方法来抑制这些日志?IPECM.HTM文件的自述文件似乎根本没有提到这些日志文件,更不用说如何抑制它们了。这可能是我们的生产机器的一个潜在问题,因为它们将从网络位置运行批处理文件,并且没有对这些批处理文件运行的目录的写权限。我想这会产生一个错误消息,虽然我还没有在一台生产机器上测试过。只要能压制它们就很理想了。如果有人有Em,欣赏任何技巧。
以上来自于百度翻译
以下为原文
Hey all,
I'm currently put
ting together a windows batch file for use in a production environment to program a device via the ipe command line (ipecmd.jar).
I'm writing the device no problem, but every time I run the command I end up with 5 log files:
log.0
log.1
log.2
MPLABXLog.xml
MPLABXLog.xml.lck
Is anybody aware if there is a way to suppress these logs? The Readme for IPECMD.htm file doesn't seem to mention these log files at all, let alone how to suppress them. This could be a potential issue with our production machines, as they will be running the batch file from a network location, and do not have write permissions for the directory from which these batch files will be run. I would imagine this would throw an error message, although I haven't tested this on one of the production machines yet. It would be ideal to just be able to suppress them.
Appreciate any tips/tricks if anyone out there has 'em.