|
| [WB19] fexists("filename.txt") ? |
| Iniciado por guest, 12,dic. 2014 21:47 - 3 respuestas |
| |
| | | |
|
| |
| Publicado el 12,diciembre 2014 - 21:47 |
Hi,
I didn't find an fexists("filename.txt") but I found an
IF fopen("filename.txt",foRead) = True THEN
Does the file have to be Opened to find if it's there or not?
Also, I placed a file in the root directory, for both production and localhost, but it doesn't seem to find it.
Does a newly created file need to be Compiled with the project for it to be found?
Thanks in advance for any help on this... Randall |
| |
| |
| | | |
|
| | |
| |
| Publicado el 12,diciembre 2014 - 22:38 |
Hi Randall,
flistfile(FullFileName) will return an empty string if the file doesn't exist without opening it
As for the root directory, depending on the user permissions and the system settings, you may not be able to access it
Best regards |
| |
| |
| | | |
|
| | |
| |
| Publicado el 13,diciembre 2014 - 06:16 |
Hi Randall, how about FfileExist(...) ??? <a class="ExternalLink" rel="nofollow" target="_blank" href="http://help.windev.com/en-US/?3036015&name=ffileexist_function">http://help.windev.com/en-US/…</a> |
| |
| |
| | | |
|
| | |
| |
| Publicado el 15,diciembre 2014 - 14:29 |
| Many Thanks to Both of You... <img src="/NG2013_WEB/ui/smiley/1.gif" align=absmiddle border=0 alt=":-)"> |
| |
| |
| | | |
|
| | | | |
| | |
|