Need Help deleting record from text file



I am working on a backup program that keeps a record of the original path so
that a backup file can be replaced. If the user deletes some of the backup
files then the original path list contains more entries than the number of
files in the backup location.

I would like to be able to compare the list of files in the backup location
to the original list of files and delete any records of the files no longer
found at the backup location. (I hope this makes sense) :-)

I started out using two listbox's and then comparing them to each other, but
when the number of files goes over 2 thousand it gets very slow and I have
some that or over 10 thousand.

Is there a way of doing this faster?

--
Norm

Don't blame me, my programming is
self-taught and my teacher was not
very experienced. :-)

normfowler_don't use_@xxxxxxxxxxx


.



Relevant Pages

  • Re: Full-Text Catalogs
    ... If you restore the file to its original path, I think you don't even have to rebuild the catalog. ... Is it possible to backup the files directly from the file path and then restore them to the original directory and then rebuild them from that data? ...
    (microsoft.public.cert.mcdba)
  • Backup (Was:Re: Safe way to quit Pluto externally?)
    ... I have posted this here because this is not really a Pluto issue. ... any errors during the backup which is a shame since the backup is ... Please, oh please, can we have a decent backup program which logs errors ... I have even considered running Samba on RISC OS so I can use ...
    (comp.sys.acorn.apps)
  • Re: can I back up two computers using one external hard drive?
    ... then a backup on the external hard drive. ... works well, but offers virtually no benefit, if the backup program ... Another test worth doing, applies to tape. ... Some tape drives come with a LED on the ...
    (microsoft.public.windowsxp.hardware)
  • Re: Question for Kevin W. (MVP)
    ... Tried what you stated but the value never changes from 1 to 2 on Backup ... I also only have a Reg key for Backup Location, ... Location Path. ...
    (microsoft.public.windows.server.sbs)
  • Re: Looking for a way to use back up in Windows XP Home Edition
    ... I am looking for a backup program. ... I have searched my Windows XP ... Cannot find a backup program anywhere. ... This can do a complete backup or backup individual files and folders to DVD/CD and other drives. ...
    (microsoft.public.windowsxp.general)