Jump to content
Sign in to follow this  
stev379

FileExist

Recommended Posts

stev379

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
SlimShady

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
stev379

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  

×