Hi!
I think that was usefull if we can get a command(or a fgallback) that look if a file was busy or free...
In that way no problem writing or deleting on a file already opened from another app...
Is that possible?
DOS function request...
DOS function request...
Simone"Tuxedo"Monsignori, Perugia, ITALY.
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: DOS function request...
Simply encapsulate DeleteFile() or OpenFile() in a ExitOnError(FALSE) clause and you won't get any errors when the file is locked by another app.
Re: DOS function request...
mmm...
ok but in that way I've to check again to Exists() and than retry to delete it again...
Wasnt better to directly check to Busy() and when FALSE go on with delete or whatever you need ?
Plz sorry if I made weird(and newbe) questions...
ok but in that way I've to check again to Exists() and than retry to delete it again...
Wasnt better to directly check to Busy() and when FALSE go on with delete or whatever you need ?
Plz sorry if I made weird(and newbe) questions...
Simone"Tuxedo"Monsignori, Perugia, ITALY.