Jump to content
Macro Express Forums

If File Exists Boolean


wskid

Recommended Posts

Basically what I want to accomplish is:

 

If file C:\file.txt exists = true

then do A

Else (meaning file exist = false)

then do B

End if

 

However, if the file does NOT exist, the macro aborts, stating the file doesnt doesnt exist - aborting macro. Then that the macro has been aborted.

 

Wouldn't the If File Exist return boolean false and then processs the else side?

 

This is using ME 3.5.5.1

Link to comment
Share on other sites

The If File Exists should not abort the macro with a file doesn't exist message. The error is likely somewhere else in your macro. You could use the Debug feature of Macro Express to step through your macro to determine where the error is occurring.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...