Mar 31, 2011 #1 berthoud Technical User Oct 31, 2010 51 FR Hello word, I'm back lol Is't possible to test if a dos file (ex: 'Photos/mypicture.jpg')exist? May be by using "Directory"? Is there an other way? Thank you for your help Have a good day
Hello word, I'm back lol Is't possible to test if a dos file (ex: 'Photos/mypicture.jpg')exist? May be by using "Directory"? Is there an other way? Thank you for your help Have a good day
Mar 31, 2011 1 #2 cagiv Programmer Mar 5, 2009 56 DE Hi, IF EXISTS('C:\Test\Test.log') Do ... ELSE Do ... END cagiv Upvote 0 Downvote
Mar 31, 2011 Thread starter #3 berthoud Technical User Oct 31, 2010 51 FR Thanks I had not found "exists" in my "language reference" book but it works very well. Good evening Upvote 0 Downvote
Mar 31, 2011 #4 ShankarJ Programmer Aug 9, 2003 856 Hi! You can use EXISTS() to check if a folder exists by using IF EXISTS('C:\Test\') ... or IF EXISTS('C:\Test\.') ... Regards Upvote 0 Downvote
Hi! You can use EXISTS() to check if a folder exists by using IF EXISTS('C:\Test\') ... or IF EXISTS('C:\Test\.') ... Regards