Getting folder name of a file -
07-16-2009, 02:19 AM
hi,
I need to get a file from my project directory which has some folders and sub folders.From these i need to pick up a file and copy it to another folder.Any ideas?
If you're looking for the files in a directory, create a new File object based on your project directory and use the list() method to return a String[] of the file names.
If you're looking for the files in a directory, create a new File object based on your project directory and use the list() method to return a String[] of the file names.
James
The Following User Says Thank You to jsugrue For This Useful Post: