Page 1 of 1 1
Topic Options
#29990 - 2002-10-01 04:55 AM Delete subdirectories
jhansenjr Offline
Fresh Scripter

Registered: 2002-08-31
Posts: 37
Loc: New Jersey
Is it possible to delete the subdirectories of a directory based on the files or directories being more than one day old?

Any help would be appreciated.

Top
#29991 - 2002-10-01 04:57 AM Re: Delete subdirectories
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yep...
with getfiletime()

haven't actually tried on dirs yet...
 
_________________________
!

download KiXnet

Top
#29992 - 2002-10-01 05:17 AM Re: Delete subdirectories
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
JJ,
Lots of examples already posted. A quick search will reveal much.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#29993 - 2002-10-01 02:24 PM Re: Delete subdirectories
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
here's one : dir tools (reply 7)

Files only , not directories !

hth

Jochen
_________________________



Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 633 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.05 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org