Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / [SOLVED] Check to see if folder exists

Author
Message
-majic-
7
Years of Service
User Offline
Joined: 8th May 2016
Location: 3rd rock from the Sun
Posted: 28th May 2020 19:43
DB Pro has command [file exist] which returns a 1 or 0 should a file exist or not

but

is there a way to do the same thing for a folder ???


The author of this post has marked a post as an answer.

Go to answer

Bored of the Rings
User Banned
Posted: 29th May 2020 09:27 Edited at: 29th May 2020 09:28
This post has been marked by the post author as the answer.
if path exist([path]) . have you read the documentation?
Professional Programmer, languages: SAS, C++, SQL, PL-SQL, DBPro, Purebasic, JavaScript, others
-majic-
7
Years of Service
User Offline
Joined: 8th May 2016
Location: 3rd rock from the Sun
Posted: 29th May 2020 10:38
clearly not - not 100% , my mind was thinking Files and Folders , did not occur about Path



Thank You

Login to post a reply

Server time is: 2024-04-20 01:14:54
Your offset time is: 2024-04-20 01:14:54