I am taking a file as an input from user , all I want is that if the user for the first time gives wrong file name which does not belong in a directory a message should be displayed , and should ask him to renter the name . How can I do it ?
One more question , how to check whether the file input by the user is present in directory or not ??
Thanks in advance
In reply to taking file from user by shushant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |