开发者

originally Creation Date of a Document

开发者 https://www.devze.com 2022-12-21 00:36 出处:网络
i have a file with documents. i wrote a applikation with asp.net. i need to read the creation date and the date of the last change (and title, etc.)

i have a file with documents.

i wrote a applikation with asp.net.

i need to read the creation date and the date of the last change (and title, etc.) for that i used the API filesysteminfo.

in the file are documents, that are a copy of a vss server. but when a document is copied, the date of creation changes to the "date of copy". but i need the original date of creat开发者_运维问答ion.

any idea?

greetings


If the file has been overwritten, you will not be able to get the creation date that is stored in SourceSafe.

You may have more luck using the SourceSafe API, however this uses OLE automation, so may not be very simple.


i solved the problem with robocopy

robocopy source destination [parameter]

default it copies Data, Attributes and Timestamp

http://technet.microsoft.com/en-us/library/cc733145%28WS.10%29.aspx

http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displayLang=en

0

精彩评论

暂无评论...
验证码 换一张
取 消