Re: A win32file.ew question.
- Posted by "Hayden McKay" <hmck1 at dodo.com.au> Dec 07, 2003
- 482 views
I figured it out! please do respond to this subject. I used a walk_dir() method. deleteFile() is case sentitive eg: caps, smallcaps and have fixed procedure that would'nt delete new.txt if deleteFile(New.txt). The procedure was a listview of the temp files which the delete_temp procedure uses to delete files. All is good thnx to Guillermo Bonveh for making me look real hard. ----- Original Message ----- From: "Hayden McKay" <hmck1 at dodo.com.au> To: <EUforum at topica.com> Subject: Re: A win32file.ew question. > > > I tried that! but thnxs. > > Is there a regeristry key for the "warning :- show files screen" > windows 98 produces when I double click my windows folder. if there is > maybee I can set the warning screen to "disable" before the call to > deleteFile() and see what happens. > > I cannot delete anything past the windows directory. Even nameing a file > without wildcards. I've tried walk_dir() methods and all other methods I can > think off. I can create, move, set dir, create file, chdir, rmdir but not > delete anything in "appdata" dir, namely the "windows" dir. The only way I > can delete anything past windows dir is by calling a DOS delete tool I made. > Wich uses dos.e I/O functions that successfully delete the C:\%windir%\temp > folder or any folder past %windir%. > The whole perpouse was to get rid of the DOS shell created by my windows > "cleandisk" app by bypassing the call to "system()" so that that my windows > app would handle the delete procedure directly! > Nothing in %windir% can be delete, nor any folder. > I'v tried operasifile.e, win32fil.ew and winfile.ew > only DOS32 utils can delete my %windir% stuff. > Maybee its the stealth protection my computer is running? > Who knows? > ----- Original Message ----- > From: "Guillermo Bonvehi" <knixeur at speedy.com.ar> > To: <EUforum at topica.com> > Sent: Sunday, December 07, 2003 4:50 AM > Subject: Re: A win32file.ew question. > > > > Hi Haydan, > > If i'm not wrong, deleteFile doesn't support wildcards (*.* or=20 > > *.txt), you should get the files in the directory using dir() function=20 > > and delete the files that are listed there. If there are subdirectories=20 > > you should use walk_dir(). > > > > Best Regards, > > Guillermo Bonveh=ED > > > > Hayden McKay wrote: > > > > > > > >I filled my temp folder full of *.txt files only > > >with no other apps running and still deleteFile() returned 0 > > >I think its something to do with the "show files" screen windows produces > > >for the windows directory protection. > > >My computer has a "show files" screen when double click on windows > > >directory. > > >=20=20 > > > > > > > TOPICA - Start your own email discussion group. FREE! > > > > > > -- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.548 / Virus Database: 341 - Release Date: 5/12/03 > > > > --- > > > -- > > > > TOPICA - Start your own email discussion group. FREE! > > > -- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.548 / Virus Database: 341 - Release Date: 5/12/03 > --- --