批处理文件可以保留在内存中(Can Batch File Hold In Memory)

   IT问题网   2020-06-29 00:00:00

问 题

我想知道......我有一个批处理文件来检查我的整个硬盘。批处理运行后,有没有办法让它在内存中保留所看到的内容,以便下次运行时,它会更快。只比较可以说的变化。

谢谢。

解决方案

不是真的,文件系统会缓存文件和目录信息,但这并没有保存你想要的信息。



你可以在批处理文件中做一些奇特的东西,但这是极端的,神秘的,不建议。查看 jpsoft tcc / le



你最好在"更高级别"做这些事情语言"。

尝试使用powershell脚本 - 这个页面可能是一个好的开始 -使用windows powershel进行脚本编写 [ ^ ]

标签:批处理文件可以保留保存内存



分享:

  • 微信
  • QQ好友
  • QQ空间
  • 新浪微博


热门推荐

用于在C ++中的开源PDF库中读取PDF文件的代码(Code for reading a PDF file in Open Source PDF Libraries in C++)

problem i want the code for reading a pdf file and store ...

MFC应用程序中RichEdit控件的问题(Problem with RichEdit control in MFC application)

problem in my application i am using crichedi ...

如何为每个IP地址创建线程?(How to create threads to each Ip address)

problem good morning friends, i am currently ...

职业生涯在DotNet中呼唤我(Career Call for Me In DotNet)

problem hi all, i''m working as software eng from past o ...

从应用程序备份数据库(take backup of database from application)

problem hi all, i have a database named mydb ...

如何在客户端系统中维护我们的数据库(how to maintain our database in client system)

problem hello iam developing windows application and my ...

C#发送电子邮件SMTP问题(C# sending email SMTP problems)

problem dears i am using visual studio 2008 3 ...

需要帮助使用opengl在c ++中构建迷宫(Need help in building maze in c++ using opengl)

problem this is my code for solution path, i used random ...

使用文本框将一个选项卡值添加到另一个选项卡。(one tab value to another tab both using text box.)

problem how to assign one tab value to another tab if bot ...

使用WSAsy-Model的Win32套接字(Win32 Socket using WSAsy-Model)

problem hi !i want to use the wsaasyncselect ...

一次单击添加空白记录(one click add blank record)

problem dear sir, when was clicking edit link button ther ...

关于sql'列表的问题(the problem which is about listing of sql')

problem i want to get 3 datas which has been added lastly ...

DataGridView绑定源datacontext.ExecuteQuery allowusertoaddrows已禁用(DataGridView Binding Source datacontext.ExecuteQuery allowusertoaddrows disabled)

problem using the following code: iqueryable data = db.e ...

我想在每个页面上显示用户名(I want to display username on every page)

problem can i use loginview control without login control ...

解释如何重载.ToString()方法......(Explain how to overload .ToString() method...)

problem help me friends... :) thanks in advance... soluti ...

UserControl编辑对象(UserControl to edit an object)

problem hello, i have a usercontrol that has some fields ...

使用任何网络服务获取英国的邮政编码和地址(get postal code and address of UK using any web service)

problem hi, i have 2 text box. 1 for u.k. p ...

Windows 7的应用程序(application for windows 7)

problem do i need to install anything to program an app u ...

将控件添加到datagridview(add control to datagridview)

problem hi, there is a control called nbtext (which forma ...

多列和网格下拉列表(无自动完成)(dropdown with multicolumn and grid(no autocomplete))

problem i need a dropdown with multicolumn like the follo ...