Reading/Searching a File Whilst it is Being Edited?

October 11, 2020 at 16:16:16
Specs: Windows Server 2008 R2 Standard
Hi

I can't seem to find any information on what happens if you read/search a file using a Windows Batch File when the file still needs to be editable at the same time.

Does the batch file lock the file you are reading/searching?

Does it read the file contents from the particular datetime you accessed it only ignoring any subsequent edits. In particular, I'm interested in the answer for using for /f or findstr or find.

Thanks


See More: Reading/Searching a File Whilst it is Being Edited?

Related Solutions


Ask Question