Could someone please help me to understand how to check whether a filename exists. For instance, I wish to save data to a file using the OPEN 'filename' for 'mode' AS #n.
I can do this but, I then want to be able to check whether, given user input, and using the Input mode of access whether a file exists and therefore I can go ahead and read data. Is there a 'return value' using the OPEN command that can be used?
Also, is there a way to check for the existance of a file straight from the 'windows shell'?
Thanks guys+gals,
Phil [sig][/sig]
I can do this but, I then want to be able to check whether, given user input, and using the Input mode of access whether a file exists and therefore I can go ahead and read data. Is there a 'return value' using the OPEN command that can be used?
Also, is there a way to check for the existance of a file straight from the 'windows shell'?
Thanks guys+gals,
Phil [sig][/sig]