Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Java: Search folder & delete
Closed Thread
Old 10-16-2008, 02:06 AM   #1 (permalink)
 
Super Techie

Join Date: Feb 2008

Posts: 302

Thorn is on a distinguished road

Default Java: Search folder & delete

I want to write a code to search an entire folder for duplicate named files, and if it encounters any, erase one of them. Is this possible/how would I go about doing this?
Thorn is offline  
Old 10-16-2008, 09:09 AM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: Java: Search folder & delete

Yes, it is possible. If you are familiar with Java, then you should also familiarize yourself with the Sun Developer Network website, as you'll be able to find all the Java documentation you need. Here's a section on basic I/O: Lesson: Basic I/O (The Java™ Tutorials > Essential Classes)
jaeusm is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Explorer.exe CRASHES INSTANTLY =( [F] wootwoot HijackThis Logs (finished) 28 07-15-2008 02:47 PM
How to delete or empty a folder with VB6 RobertXYZ Programming Discussions 1 02-29-2008 08:17 AM
Cannot Delete A Folder. Cajete Windows Operating Systems and Software 7 02-03-2008 05:43 PM
Home Edition Troubles ChemicalMonkey Windows Operating Systems and Software 34 01-20-2008 09:26 PM
Unable to Delete Folder in Vista Grievearz Windows Operating Systems and Software 4 11-25-2007 09:48 PM