Task:

Write an Erase procedure yourself. (file deletion procedure)

How to do it?

  • Specify which programming language we are talking about, and where does the file come from and in which operating system? - Kromster
  • PascalABC.net - Removing for example the most common TXT file, but the procedure I have to write myself from scratch, the Windows operating system. - Biznizmuff Eld
  • How low do you need? Is it enough to run standard checks and access the DeleteFile WIndows API function, and then process the result? If yes, then see docs.microsoft.com/en-us/windows/desktop/api/fileapi/… - Viktor Tomilov

0