VB6, Limitations of FileSystemObject

Associate
Joined
26 Feb 2004
Posts
970
Location
China (Qinhuangdao)
I've been messing around for a while with creating a backup system for my new Synology disk station. It simply goes through all my files and folders on my local drive and updates the remote drive if it needs to be.

I'm getting error messages when the total length of the path being copied across is more than 255 characters long.

I'm using object.copyfile origfile, destfile.

Is this a known issue? or is it just coincidence that the path is so long? Any way around this problem or do I need to go though all the long filenames and truncate them?
 
Back
Top Bottom