Computer Science Canada Detecting Files? |
Author: | LegendsEnd [ Tue May 30, 2006 8:08 pm ] |
Post subject: | Detecting Files? |
Does turing have code for detecting files? My program creates files but it also has the delete file functionality. So, would I need a separate file with all the filenames saved in it, or is there some way I can directly list the files in a certain directory? |
Author: | Anonymous [ Tue May 30, 2006 9:01 pm ] | ||
Post subject: | Listing Directory | ||
Here's a little fun program I made:
|
Author: | Cervantes [ Tue May 30, 2006 9:04 pm ] |
Post subject: | |
You might want to check out the Dir tutorial. Also, File.Exists may be of help to you. At least, that's what first came to mind when I was reading your question, though it seems to me now that the Dir module is what you're looking for. |