Smiley357 Posted July 18, 2008 Share Posted July 18, 2008 Is there something like if exist in autoit? Link to comment Share on other sites More sharing options...
JFee Posted July 18, 2008 Share Posted July 18, 2008 If what exists? Regards,Josh Link to comment Share on other sites More sharing options...
Clay Posted July 18, 2008 Share Posted July 18, 2008 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 More sharing options...
Smiley357 Posted July 18, 2008 Author Share Posted July 18, 2008 Thanks. I did a search in the autoit help but only looked for if and exist and neither give me fileexist. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now