C
christopher_board
I am currently writing a java application that backs up a directory
and copies it to another location. I want the user to enter the path
of the directory in a JTextField. For example C:\Documents and
Settings. Once the user has entered the path they want to backup they
then click a button which will then check to make sure that, that
directory exists. If it doesn't a message is displayed and if it does
then it performs a certain task. How would I go about checking to make
sure the folder exists.
Thanks very much for your help.
I look forward to hearing from you in the near future.
and copies it to another location. I want the user to enter the path
of the directory in a JTextField. For example C:\Documents and
Settings. Once the user has entered the path they want to backup they
then click a button which will then check to make sure that, that
directory exists. If it doesn't a message is displayed and if it does
then it performs a certain task. How would I go about checking to make
sure the folder exists.
Thanks very much for your help.
I look forward to hearing from you in the near future.