1
I wanted to know how to create a temporary file on the network.
Every time the user logs in checks if the file already exists if yes the system creates another file with the different name.
Every time the user leaves the system it will erase the file that created and all other files that have the same name Type(File 1, File 2...) that are no longer being used.
It has to be with a temporary file on the network or it can be otherwise?
– Andrey
may be otherwise yes.
– Edu Mendonça
You have to do it like this:;
if Usuario = usuarioLoago then
 begin
 for I := 1 to sUsuQtd do
 begin 
 NomeArqivo := 'arquivo'+IntToStr(I)+'.txt'; 
 if not FileExists(NomeArqivo) then
 begin
 AssignFile(Arqivo, NomeArqivo);
 end;
 end; 
 end;
– ProsTecnologia