Re: Flag a file to be deleted
- Posted by CoJaBo <cojabo at suscom.net> Nov 13, 2004
- 490 views
Juergen Luethje wrote: > > Eucoder wrote: > > <snip> > > > Hi Chris, > > Thanks for the response! > > The problem with that is the file will be locked before my program runs. > > There is a way to have Windows delete a file when booting up, but I am not > > sure how to do it on a WinXP/2000 machine. On Win 95/98/ME you could use > > WININIT.ini to do it. > > I use a DOS program for this purpose, that is started by AUTOEXEC.BAT. > Works fine on Windows 98, but unfortunately I can't tell about Win > 2000/XP. 2K/XP ignore autoecxec.bat (which I used). You can configure it to scan for SET commands, but that would be of no use... Now I just delete files like that manually, using either the Win XP repair CD or Knoppix if the drive isn't NTFS(Does the newer version support NTFS? Maby I should upgrade...). > > Regards, > Juergen > >