# Win10 C6 Directory() 8min 40 secs, C11 Directory() 31mins 47 seconds

**URL:** <https://clarionhub.com/t/win10-c6-directory-8min-40-secs-c11-directory-31mins-47-seconds/5574>\
**Category:** questions\
**Tags:** c6, c11, windows\
**Created:** [October 28, 2022, 5:34pm UTC](https://clarionhub.com/t/win10-c6-directory-8min-40-secs-c11-directory-31mins-47-seconds/5574 "2022-10-28T17:34:25Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![anon77170705](https://clarionhub.com/letter_avatar_proxy/v4/letter/a/ecccb3/32.png) [@anon77170705](https://clarionhub.com/u/anon77170705)\
**Post date:** [October 28, 2022, 8:34pm UTC](https://clarionhub.com/t/win10-c6-directory-8min-40-secs-c11-directory-31mins-47-seconds/5574/5 "2022-10-28T20:34:50Z")

</div>

> [@Test if Close(Report) is SLOW on your System? – Mine 100x slower than C6](https://clarionhub.com/t/test-if-close-report-is-slow-on-your-system-mine-100x-slower-than-c6/4491/31):
>
> It calls the API DeleteFile(). It sets the RTL ErrorCode() and Error() so no other code changes are required. This is faster and safer.

DeleteFile does not support wildcards in the parameter string. Clarion’s REMOVE - supports. If parameter of REMOVE is a name of directory, some extra checkings are required. In future Clarion REMOVE as well as some other file-oriented functions is also resolves mapped and SUBSTed drives, virtual folders, directory injections, etc. because this is related to access rights.

---

_[View the full topic](https://clarionhub.com/t/win10-c6-directory-8min-40-secs-c11-directory-31mins-47-seconds/5574)._
