Jump to content

Is there something like �if exist� in autoit?


Recommended Posts

If you are trying to checks if a file or directory exists

FileExists ( "path" )

Example:

If FileExists("C:\autoexec.bat") Then

MsgBox(4096, "C:\autoexec.bat File", "Exists")

Else

MsgBox(4096,"C:\autoexec.bat File", "Does NOT exists")

EndIf

Otherwise I am not sure what you are trying to determine exists or not

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...