Sign in to follow this  
Followers 0
stev379

FileExist

3 posts in this topic

I'm using "FileExists" to check if mapped drives exist. I'm using case statements so I can't use an Else statement.

Is there anything like a "FileNotExists"?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

How about this?

If NOT FileExists(@TempDir & "\SomeFile.tmp") Then
  ;File is not found
EndIf
Edited by SlimShady

Share this post


Link to post
Share on other sites

I figured it out just before I checked back for you post.

Thanks! Now I know I'm on the right path. :lmao:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0