will CFileFind's GetLastWriteTime() throw exception?
Will CFileFind's GetLastWriteTime() function throw exception? If yes, When will it throw exception, which type? Many Thanks! ...
Will CFileFind's GetLastWriteTime() function throw exception? If yes, When will it throw exception, which type? Many Thanks! ...
I need to copy files in one directory to another directory where the lastwritetime is greater than or equal to 3/26/2010 9:00pm. I'm using: Get-ChildItem C:\pstest\hlstore\folder1\data | where-object {$i.lastwritetime -ge “3/26/2010 9:00 PM”} | Copy-Item -destination c:\pstest\hlstore2\folder1\data But nothing happens... Any help wo...
File.GetLastWriteTime(pathname).ToString(); The line above works perfectly for a local file on my c: drive, if I try to a file on a network share using a UNC path I get "01/01/1601 00:00:00" Any ideas how to resolve? my app needs to work of UNC paths. ...
Hi, I used FileInfo.LastWriteTime to know when was the exact last time where a certain file, let's say "c:\temp\test_file.txt" was CHANGED. It works greate when someone is actually opens the file, make changes and then save - the FileInfo.LastWriteTime for this path is being updated with the time the file was changed. But what happens...