1. How can I check if a directory exists and a file exists?
2. If I use a drivelist box to set the drive, along with the dirlist box, if I click on afloppy drive), without putting in a floppy it generates an error(because the chdir is related to chdrive)and the program terminates. How can I trap this error to tell the user to put in a floppy in the drive?


floppy drive), without putting in a floppy it generates an error(because the chdir is related to chdrive)and the program terminates. How can I trap this error to tell the user to put in a floppy in the drive?
Reply With Quote