Prev: VB6.0 SP4 can't be instlled - 'cannot find the Visual Studio common directory'
Next: ActiveX EXE Books etc?
From: Eduardo on 23 Oct 2009 14:40 > I was talking about the base file operation (in fat/ntfs). > SHFileOperation() does essentially the same by deleting all the files > individually followed by the folder. When doing it manually through the windows explorer, I found that it's much faster to delete a folder with all its files, than deleting all the files first. But it must be because it sends them to the reclicle bin. In the case of deleting a folder it has to move just one object to the recicle bin.
From: Scott M. on 23 Oct 2009 16:26 "Eduardo" <mm(a)mm.com> wrote in message news:hbst9b$is4$1(a)aioe.org... > >> I was talking about the base file operation (in fat/ntfs). >> SHFileOperation() does essentially the same by deleting all the files >> individually followed by the folder. > > When doing it manually through the windows explorer, I found that it's > much faster to delete a folder with all its files, than deleting all the > files first. > > But it must be because it sends them to the reclicle bin. In the case of > deleting a folder it has to move just one object to the recicle bin. That was why I suggested deleting the folder, rather than each of the files. -Scott
From: CY on 23 Oct 2009 18:12 On 22 Okt, 23:23, "Saga" <antiS...(a)nowhere.com> wrote: > Hi All, snip > My peeve is that I need to check the age of the file and delete it only if > it older than the number of specified days. I searched for different > routines, but none of them illustrate what I need to do. Does any one have > any suggestions on an alternative, faster way to do this? Thanks! Saga Put it on a OpenVMS server and use the "delete/since=yesterday" command for ex, use samba, nft (or FTP) if stuck in windows to reach the files. ;) And u can use the same fileame for a specific date or ant name as long as it dosent become more the 32768 files with the same name Oops, the HW is a problem... there are emulators for a ES40 on soureforge out for an Alpha and many othersso... Cost? Deccus provides free hobbyist lic for almost anything (not latest version) You said "any suggestion" got one, use VB for front end and use VMS for what servers do best.
From: Nobody on 23 Oct 2009 18:42 "Eduardo" <mm(a)mm.com> wrote in message news:hbst9b$is4$1(a)aioe.org... > When doing it manually through the windows explorer, I found that it's > much faster to delete a folder with all its files, than deleting all the > files first. > > But it must be because it sends them to the reclicle bin. In the case of > deleting a folder it has to move just one object to the recicle bin. <Extremely dangerous idea ahead> Press Shift+Delete to delete files permanently, without sending them to the Recycle Bin. The same is true for deleting email in some email programs, just try not to make a habit of it. It's easy to press Shift+Delete followed by Enter. It's better to be safe than sorry! </Extremely dangerous idea ahead> Please forgot what I said above.
From: Eduardo on 23 Oct 2009 18:57
Nobody escribi�: > "Eduardo" <mm(a)mm.com> wrote in message news:hbst9b$is4$1(a)aioe.org... >> When doing it manually through the windows explorer, I found that it's >> much faster to delete a folder with all its files, than deleting all the >> files first. >> >> But it must be because it sends them to the reclicle bin. In the case of >> deleting a folder it has to move just one object to the recicle bin. > > <Extremely dangerous idea ahead> > > Press Shift+Delete to delete files permanently, without sending them to the > Recycle Bin. The same is true for deleting email in some email programs, > just try not to make a habit of it. It's easy to press Shift+Delete followed > by Enter. It's better to be safe than sorry! > > </Extremely dangerous idea ahead> > > Please forgot what I said above. Umm, I'll forget it for the moment, but I'll try to remember it in those rare cases where I need to delete lot of files (specially on Vista, that is so slow to do this...). |