Delete all Files From Folder





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

9
Date Submitted Wed. Dec. 27th, 2006 9:40 AM
Revision 1
Scripter bertheymans
Tags Java | List | Set | uniqueness
Comments 2 comments
This is a very convenient way to remove all doubles from a List in Java. The only prerequisite is that the elements in the list have proper equals and hashCode methods.

It work by using the constructor of a Set that takes a Collection as an argument.

I poured the snippet in a little program so can run it straight away.
0
Date Submitted Wed. Oct. 29th, 2008 11:26 AM
Revision 1
Helper Celebhir
Tags Directory | File | PHP | Recursive | search
Comments 0 comments
This function tries to locate a file in a give folder (either single level, or in any sub folder). Returns the relative file and path, or FALSE if not found. Skips over "." and "..".
0
Date Submitted Wed. Oct. 29th, 2008 10:51 AM
Revision 1
Helper Celebhir
Tags Directory | find | Folder | PHP | Recursive | search
Comments 1 comments
This function takes a directory, and a "folder" search parameter.
If it finds the directory (either in single level, or any sub folder) it will return the relative path of that folder. "FALSE" if not found. Skips over files and "." and ".." directories. Recursive by default.
-4
Date Submitted Thu. Mar. 2nd, 2006 3:44 AM
Revision 1
Syntax Master dannyboy
Tags "Command Line" | BATCH | CMD | Delete
Comments 0 comments
Deletes all files and folders from a directory, including read-only and
hidden files and folders. DelAll starts in the directory you tell it,
removes all read-only and hidden attributes from all the files, removes
all of the subfolders and then all files therein. When DelAll is done,
you will be left in the directory from which you called DelAll. The
directory that you want cleaned will not be deleted.
-7
Date Submitted Thu. Mar. 2nd, 2006 4:38 AM
Revision 1
Syntax Master dannyboy
Tags Backup | Delete | IIS | Restore | VBSCRIPT
Comments 0 comments
Create a backup, restore a backup, delete a Backup from IIS
-2
Date Submitted Thu. Mar. 2nd, 2006 5:03 AM
Revision 1
Syntax Master dannyboy
Tags exists | File | Folder | VBSCRIPT
Comments 0 comments

Checks to see if a file or folder exists
The fFile variable determines whether you're
looking for a File (True) or Folder(False)
The strName variable holds the fully qualified
path you're looking For
3
Date Submitted Thu. Mar. 2nd, 2006 5:23 AM
Revision 1
Syntax Master dannyboy
Tags File | Folder | VBSCRIPT
Comments 0 comments
this function returns the aggregated size
of all files in a directory and its subdirectories
3
Date Submitted Thu. Mar. 2nd, 2006 9:59 AM
Revision 1
Syntax Master dannyboy
Tags File | info | VBSCRIPT
Comments 0 comments
Retrieve information about a file
3
Date Submitted Thu. Mar. 2nd, 2006 10:05 AM
Revision 1
Syntax Master dannyboy
Tags File | Folder | VBSCRIPT
Comments 1 comments
Check the attributes of a file or folde
3
Date Submitted Thu. Mar. 2nd, 2006 10:32 AM
Revision 1
Syntax Master dannyboy
Tags Directory | Folder | MAKE | MD | VBSCRIPT
Comments 1 comments
Make a new directory