# 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:** 3

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [October 28, 2022, 7:17pm UTC](https://clarionhub.com/t/win10-c6-directory-8min-40-secs-c11-directory-31mins-47-seconds/5574/3 "2022-10-28T19:17:39Z")

</div>

for example, Carl discovered this stuff about REMOVE()

> [@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):
>
> I created a GIST with my FileApiRemove() that can be used to replace calls to the RTL REMOVE(String) function. It calls the API DeleteFile(). It sets the RTL ErrorCode() and Error() so no other code changes are required. This is faster and safer. MODULE('ClaApi') !These Error functions have been in the RTL forever and appear in LibSrc but are not documented SetError(LONG ErrNumberToSet),NAME('Cla$SetError'),DLL(DLL\_Mode) ClearError(),NAME('Cla$ClearError'),DLL(DLL\_Mode…

---

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