System.IO.File.Create locking a file March 24, 2023 by Tarik Try this: System.IO.File.Create(FullFName).Close();