0
Why robocopy still copy an open file, opened by txt editor in windows
Further to above question, how could it be the simplest way to keep an file opened in a bare windows env like server 2016 environment to show the robocopy properties that it will avoid copying opened file or even show error in log for testing purpose?
either by batch or other existing function in windows server could be acceptable
VBS sth like this does not work
Set MyFile = fso.OpenTextFile(FileName, ForWriting, True)
Do MyFile.WriteLine "Hello world!" Loop