Windows 文件共享时间戳 [英] Windows File Share Timespamps

查看:47
本文介绍了Windows 文件共享时间戳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设计算机 A 在由计算机 B 托管和共享的文件夹中创建一个文件.

Let's say Computer A creates a file in a folder hosted and shared by Computer B.

使用标准的 Windows 文件共享,该文件的创建"时间戳是否由计算机 A 或计算机 B 的时钟设置?

Using standard Windows file-sharing, will the 'created' timestamp for that file be set by Computer A's or Computer B's clock?

推荐答案

在两台 Windows 7 机器上测试后,我发现实际将文件写入磁盘的计算机是设置时间戳的计算机.(本场景中的计算机 B).

Having tested it with two Windows 7 machines, I've found that the computer actually writing the file to its disk is the one which sets the timestamp. (Computer B in this scenario).

我测试了创建和修改的时间戳,两者都是由主机设置的.

I tested both created and modified timestamps and both were set by the host machine.

这篇关于Windows 文件共享时间戳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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