可以批量将文件保存在内存中 [英] Can Batch File Hold In Memory

查看:137
本文介绍了可以批量将文件保存在内存中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道……我有一个批处理文件,它检查我的整个硬盘.批处理运行后,是否有办法将其保留在内存中,因此下次运行将更快.只能比较变化.
谢谢.

I was wondering...... I have a batch file that checks my entire hard drive. Once the batch has run, is there a way for it to retain in memory what it saw so the next time it runs, it will be quicker. Only comparing the changes so to speak.
Thank you.

推荐答案

并非如此,文件系统将缓存文件和目录信息,但这不会保存您想要的信息.

您可以在批处理文件中做一些花哨的事情,但这是极端的,神秘的,不建议这样做.检查 JPsoft TCC/LE

最好使用高级语言"来做这些事情.
Not really, the file system will cache the files and directory information, but this is not saving the information you want.

You can do fancy things in batch files but this is extreme, cryptic and not advised. Check JPsoft TCC/LE

You are better off doing these things in "higher level languages".


尝试使用powershell脚本-此页面可能是一个不错的开始- ^ ].
Try powershell scripts - this page could be a good start -Scripting with Windows PowerShel[^].


这篇关于可以批量将文件保存在内存中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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