批处理脚本,告诉我,当是最后一次文件被访问 [英] batch script that tells me when was the last time a file has been accessed

查看:141
本文介绍了批处理脚本,告诉我,当是最后一次文件被访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的销售订单文件夹列表中。我想,可以输出到一个txt文件,上次访问所有文件的时候,但不一定修改的批处理脚本。

I have a list of sales orders in a folder. I want a batch script that can output into a txt file, when were all the files last accessed but not necessarily modified.

推荐答案

上次访问已经被默认关闭了很多年。

Last Access has been turned off by default for many years.

此命令会显示你感兴趣的任何一台计算机的设置。

This command shows the setting of any computer you are interested in.

fsutil behavior query disablelastaccess

有关使用LASTACCESS - 不打开用户下方向的文件程序(如搜索索引器,像资源管理器,属性表等图标提取器)要回去和最近访问恢复到他们打开之前,它是。

For using lastaccess - programs that don't open a file under user direction (eg search indexers, icon extractors like explorer, property sheets, etc) have to go back and restore last access to what it was before they opened it.

这篇关于批处理脚本,告诉我,当是最后一次文件被访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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