The third parameter of the function is optional. It controls what happens if the destination folder already exists, in this case we explicitly set it to 1 , which will overwrite the folder. The default setting is 0 , not to overwrite. To remove a folder, you need to use DirRemove. The function takes 2 parameters, the first is the path of the folder that we want deleted, the second parameter controls whether sub-folders should be deleted as well.
Accept Reject More info. Reads the entire file by default. How to declare and work with variables in AutoIt, as well as some background information. If a filehandle is passed to the function and no line number is specified, the "next" line will be read - for a newly opened file this will be the first line. If lines are read in a loop, it is recommended to let the count increase automatically and not to use the "line" parameter, as doing so will force AutoIt to re-read the file from the beginning each time, significantly slowing execution time for large files.
The Eng-Tips staff will check this out and take appropriate action. Click Here to join Eng-Tips and talk with other members! Already a Member? Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free. Register now while it's still free! Already a member? Close this window and log in. Join Us Close. Are you an Engineering professional? Join Eng-Tips Forums!
0コメント