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
精彩评论