L le_toubib Active Member Licensed User Longtime User Nov 1, 2018 #1 Hi all Sorry for the noob question.. I kept searching the forum over night but couldn't find it.. The following code doesn't work : B4X: If file.Exists("D:\Folder","\filename.txt") then Log("file found") End if How to type the correct path?
Hi all Sorry for the noob question.. I kept searching the forum over night but couldn't find it.. The following code doesn't work : B4X: If file.Exists("D:\Folder","\filename.txt") then Log("file found") End if How to type the correct path?
stevel05 Expert Licensed User Longtime User Nov 1, 2018 #2 You don't need the extra separator, assuming D:\Folder\filename.txt is what you are after then this should work. B4X: If file.Exists("D:\Folder","filename.txt") then Log("file found") End if Upvote 0
You don't need the extra separator, assuming D:\Folder\filename.txt is what you are after then this should work. B4X: If file.Exists("D:\Folder","filename.txt") then Log("file found") End if
L le_toubib Active Member Licensed User Longtime User Nov 1, 2018 #3 stevel05 said: You don't need the extra separator, assuming D:\Folder\filename.txt is what you are after then this should work. B4X: If file.Exists("D:\Folder","filename.txt") then Log("file found") End if Click to expand... Perfect Thanks bro Upvote 0
stevel05 said: You don't need the extra separator, assuming D:\Folder\filename.txt is what you are after then this should work. B4X: If file.Exists("D:\Folder","filename.txt") then Log("file found") End if Click to expand... Perfect Thanks bro