How to create a sub folder?

By network drive do you mean a shared folder or shared drive from another PC and server?
Or do you mean a NAS?

A shared drive on another PC and server. I don't even know where the server physically resides albeit, not in our building. I'm not sure if this is relevant but for all network access, I use UNC and not drive mapping.
 
I tested Colin's method too.
But I couldn't see any improvement. It's almost exactly the same way that I had done it, except it's using mkDir() instead of FSO.CreateFolder.

I decided to use Colin's way for a week or two to see the changes.

thanks for all who participate and shared their knowledge here.
 
Do you mean its no faster than your original method?
If so, its definitely just the looping through folders that's causing the delay.

What I don't understand is why an NAS drive would be slower than using a portable hard drive or USB stick.

Anyway if further testing does indicate no improvement, perhaps go back to the code in post 14, add a sleep value that appears sufficient e.g. 1000 but add a further small delay or a loop as needed when it 'fails' to detect the folder exists
 

Users who are viewing this thread

Back
Top Bottom