var
f : TextFile;
begin
ReWrite(f,'\\myServer\anyPath\myFile.txt'); //Error 50 if the file exists
end;
Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>
Our community of experts have been thoroughly vetted for their expertise and industry experience.