Apalis T30 + WEC7 + .NET CF 3.5
An application that starts up at all times creates a directory for each date in the USB memory and stores the image files captured by the camera.
Another application, which is started only once at power on, deletes the directory older than one month among the directories for each date stored in the USB memory.
However, the deletion process takes a lot of time.
In addition, during the deletion process, it also affects the operation of the application that is always activated, the display is delayed, and the process of storing in USB memory takes time.
So we are thinking about reviewing the deletion process.
Currently, it is deleted by Directory.Delete (dirPath, True)
.
Is there any other way to make the deletion process more efficient?
We get the information that it will be faster if we use rmdir /s /q dirPath
, but is there a RMDIR command in WEC7?